Cosmetic improvements in generated code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b57a12fa21
commit
d68b786b19
1 changed files with 2 additions and 2 deletions
|
|
@ -35,10 +35,10 @@
|
|||
// note: char is treated as a seperate special type
|
||||
// signed char & unsigned char are numbers
|
||||
%typemap(consttab) char
|
||||
{ SWIG_LUA_CHAR, (char *)"$symname", (long)$value, 0, 0, 0}
|
||||
{ SWIG_LUA_CHAR, (char *)"$symname", (long)$value, 0, 0, 0}
|
||||
|
||||
%typemap(consttab) long long, unsigned long long
|
||||
{ SWIG_LUA_STRING, (char *) "$symname", 0, 0, (void *)"$value", 0}
|
||||
{ SWIG_LUA_STRING, (char *) "$symname", 0, 0, (void *)"$value", 0}
|
||||
|
||||
%typemap(consttab) SWIGTYPE *, SWIGTYPE *const, SWIGTYPE &, SWIGTYPE []
|
||||
{ SWIG_LUA_POINTER, (char *)"$symname", 0, 0, (void *)$value, &$1_descriptor}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue