svn commit: samba r2765 - in branches/SAMBA_4_0/source/scripting/swig: .

tpot at samba.org tpot at samba.org
Fri Oct 1 07:36:47 GMT 2004


Author: tpot
Date: 2004-10-01 07:36:47 +0000 (Fri, 01 Oct 2004)
New Revision: 2765

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/scripting/swig&rev=2765&nolog=1

Log:
Allow functions containing WERROR values to be compiled.

Add winreg.i to list of extensions.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/dcerpc.i
   branches/SAMBA_4_0/source/scripting/swig/samba.i


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/dcerpc.i
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/dcerpc.i	2004-10-01 05:28:20 UTC (rev 2764)
+++ branches/SAMBA_4_0/source/scripting/swig/dcerpc.i	2004-10-01 07:36:47 UTC (rev 2765)
@@ -839,3 +839,4 @@
 %include "librpc/gen_ndr/misc.i"
 %include "librpc/gen_ndr/lsa.i"
 %include "librpc/gen_ndr/samr.i"
+%include "librpc/gen_ndr/winreg.i"

Modified: branches/SAMBA_4_0/source/scripting/swig/samba.i
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/samba.i	2004-10-01 05:28:20 UTC (rev 2764)
+++ branches/SAMBA_4_0/source/scripting/swig/samba.i	2004-10-01 07:36:47 UTC (rev 2765)
@@ -34,6 +34,9 @@
 
 /* For the moment treat NTSTATUS as an integer */
 
+#define WERROR NTSTATUS
+
 %typemap(out) NTSTATUS {
         $result = PyInt_FromLong(NT_STATUS_V($1));
 }
+



More information about the samba-cvs mailing list