From 3b64edcfff68a696efb1d4e3aadfdd7dc339c49f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 5 Apr 2005 11:47:21 +0000 Subject: 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) --- source4/scripting/swig/samba.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting/swig/samba.i') 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 }; -- cgit