From dc2df2530fc729e5fa858fdab3c4355e27ece310 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 15 Oct 2004 07:17:51 +0000 Subject: r2986: Add correct value to dict when generating wrapper for functions that return WERROR values. Clean up WERROR vs NTSTATUS handling a bit. (This used to be commit e6756e3ee0af3e7e98f6deaf9dc83af9aac1b586) --- source4/scripting/swig/samba.i | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source4/scripting/swig/samba.i') diff --git a/source4/scripting/swig/samba.i b/source4/scripting/swig/samba.i index faa46dc348..6a34f9b148 100644 --- a/source4/scripting/swig/samba.i +++ b/source4/scripting/swig/samba.i @@ -32,10 +32,6 @@ $1 = (uint32_t)PyInt_AsLong($input); } -/* For the moment treat NTSTATUS as an integer */ - -#define WERROR NTSTATUS - %typemap(out) NTSTATUS { $result = PyInt_FromLong(NT_STATUS_V($1)); } -- cgit