summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Nadlinger <code@klickverbot.at>2011-01-29 21:32:23 +0000
committerDavid Nadlinger <code@klickverbot.at>2011-01-29 21:32:23 +0000
commitde53ede68136bcb49c96525d0ef7e34bfef5c500 (patch)
tree9e250e5cd9fbb3aafcff48fffe3f08468fa7a56f
parentb9d12afa7cd4696fcaf6be562ddebe6058a0a297 (diff)
downloadswig-de53ede68136bcb49c96525d0ef7e34bfef5c500.tar.gz
[D] Fix byte/ubyte confusion in typemaps.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Lib/d/typemaps.i8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/d/typemaps.i b/Lib/d/typemaps.i
index dcbd7a1cb..6206c6027 100644
--- a/Lib/d/typemaps.i
+++ b/Lib/d/typemaps.i
@@ -176,8 +176,8 @@ value returned in the second output parameter. In D you would use it like this:
OUTPUT_TYPEMAP(bool, unsigned int, bool, BOOL_PTR)
//OUTPUT_TYPEMAP(char, char, char, CHAR_PTR) // Why was this commented out?
-OUTPUT_TYPEMAP(signed char, signed char, ubyte, INT8_PTR)
-OUTPUT_TYPEMAP(unsigned char, unsigned char, byte, UINT8_PTR)
+OUTPUT_TYPEMAP(signed char, signed char, byte, INT8_PTR)
+OUTPUT_TYPEMAP(unsigned char, unsigned char, ubyte, UINT8_PTR)
OUTPUT_TYPEMAP(short, short, short, INT16_PTR)
OUTPUT_TYPEMAP(unsigned short, unsigned short, ushort, UINT16_PTR)
OUTPUT_TYPEMAP(int, int, int, INT32_PTR)
@@ -279,8 +279,8 @@ of the function return value.
INOUT_TYPEMAP(bool, unsigned int, bool, BOOL_PTR)
//INOUT_TYPEMAP(char, char, char, CHAR_PTR)
-INOUT_TYPEMAP(signed char, signed char, ubyte, INT8_PTR)
-INOUT_TYPEMAP(unsigned char, unsigned char, byte, UINT8_PTR)
+INOUT_TYPEMAP(signed char, signed char, byte, INT8_PTR)
+INOUT_TYPEMAP(unsigned char, unsigned char, ubyte, UINT8_PTR)
INOUT_TYPEMAP(short, short, short, INT16_PTR)
INOUT_TYPEMAP(unsigned short, unsigned short, ushort, UINT16_PTR)
INOUT_TYPEMAP(int, int, int, INT32_PTR)