summaryrefslogtreecommitdiff
path: root/source4/scripting/swig
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-04-05 11:47:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:26 -0500
commit3b64edcfff68a696efb1d4e3aadfdd7dc339c49f (patch)
treedded17cb3ea0895dec75c1db0ae693f8de600f83 /source4/scripting/swig
parent2543885bf3a012aa8004ff81670fde26033ff1ff (diff)
downloadsamba-3b64edcfff68a696efb1d4e3aadfdd7dc339c49f.tar.gz
samba-3b64edcfff68a696efb1d4e3aadfdd7dc339c49f.tar.bz2
samba-3b64edcfff68a696efb1d4e3aadfdd7dc339c49f.zip
r6212: Treat uint8 and int8's as integers instead of chars. Swig maps a char
to a string when we really want an integer. (This used to be commit 86c62b92e84a6eb1e756a7125777587583a9276e)
Diffstat (limited to 'source4/scripting/swig')
-rw-r--r--source4/scripting/swig/samba.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/swig/samba.i b/source4/scripting/swig/samba.i
index 25aef154cf..1446f9a8d5 100644
--- a/source4/scripting/swig/samba.i
+++ b/source4/scripting/swig/samba.i
@@ -24,8 +24,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-%apply unsigned char { uint8_t };
-%apply char { int8_t };
+%apply int { uint8_t };
+%apply int { int8_t };
%apply unsigned int { uint16_t };
%apply int { int16_t };
%apply unsigned long long { uint64_t };