git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3e7d71
)
r6212: Treat uint8 and int8's as integers instead of chars. Swig maps a char
author
Tim Potter
<tpot@samba.org>
Tue, 5 Apr 2005 11:47:21 +0000
(11:47 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:11:26 +0000
(13:11 -0500)
to a string when we really want an integer.
source/scripting/swig/samba.i
patch
|
blob
|
history
diff --git
a/source/scripting/swig/samba.i
b/source/scripting/swig/samba.i
index 25aef154cf7414c64dc7602c4a3556bc2f152735..1446f9a8d527613581db5209999b7b7d3dec2b44 100644
(file)
--- a/
source/scripting/swig/samba.i
+++ b/
source/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 };