summaryrefslogtreecommitdiff
path: root/source4/scripting/swig/samba.i
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-15 07:17:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:54 -0500
commitdc2df2530fc729e5fa858fdab3c4355e27ece310 (patch)
treed4b930aac7dce227b6099ee521a31b96cf08cd73 /source4/scripting/swig/samba.i
parent83928ac670bb17d4a1a8204d52468e5cca7c03d6 (diff)
downloadsamba-dc2df2530fc729e5fa858fdab3c4355e27ece310.tar.gz
samba-dc2df2530fc729e5fa858fdab3c4355e27ece310.tar.bz2
samba-dc2df2530fc729e5fa858fdab3c4355e27ece310.zip
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)
Diffstat (limited to 'source4/scripting/swig/samba.i')
-rw-r--r--source4/scripting/swig/samba.i4
1 files changed, 0 insertions, 4 deletions
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));
}