1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00

r2765: Allow functions containing WERROR values to be compiled.

Add winreg.i to list of extensions.
This commit is contained in:
Tim Potter
2004-10-01 07:36:47 +00:00
committed by Gerald (Jerry) Carter
parent c4c748ce63
commit 6f3f6de058
2 changed files with 4 additions and 0 deletions

View File

@@ -839,3 +839,4 @@ NTSTATUS dcerpc_pipe_connect(struct dcerpc_pipe **OUT,
%include "librpc/gen_ndr/misc.i"
%include "librpc/gen_ndr/lsa.i"
%include "librpc/gen_ndr/samr.i"
%include "librpc/gen_ndr/winreg.i"

View File

@@ -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));
}