svn commit: samba r6212 - in branches/SAMBA_4_0/source/scripting/swig: .

tpot at samba.org tpot at samba.org
Tue Apr 5 11:47:21 GMT 2005


Author: tpot
Date: 2005-04-05 11:47:21 +0000 (Tue, 05 Apr 2005)
New Revision: 6212

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6212

Log:
Treat uint8 and int8's as integers instead of chars.  Swig maps a char
to a string when we really want an integer.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/samba.i


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/samba.i
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/samba.i	2005-04-05 09:38:51 UTC (rev 6211)
+++ branches/SAMBA_4_0/source/scripting/swig/samba.i	2005-04-05 11:47:21 UTC (rev 6212)
@@ -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 };



More information about the samba-cvs mailing list