From b11be587e06705ef68da91e3ff766595d3c62c20 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 1 Oct 2004 07:36:47 +0000 Subject: r2765: Allow functions containing WERROR values to be compiled. Add winreg.i to list of extensions. (This used to be commit 6f3f6de058e806f13f48d3d1300db3784d2f470c) --- source4/scripting/swig/samba.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/scripting/swig/samba.i') diff --git a/source4/scripting/swig/samba.i b/source4/scripting/swig/samba.i index 8e0eb88533..faa46dc348 100644 --- a/source4/scripting/swig/samba.i +++ b/source4/scripting/swig/samba.i @@ -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)); } + -- cgit