[Lua] Fix #1569587. The name is now correct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
36a5852252
commit
be9aaba2b2
2 changed files with 46 additions and 51 deletions
|
|
@ -164,8 +164,8 @@ but if its an output, then it should be wrappered like any other SWIG object (us
|
|||
%typemap(consttab) float, double
|
||||
{ SWIG_LUA_FLOAT, (char *)"$symname", 0, (double) $value, 0, 0}
|
||||
|
||||
%typemap(consttab) char *
|
||||
{ SWIG_LUA_STRING, (char *)"$symname", 0, 0, (void *)"$value", 0}
|
||||
%typemap(consttab) char *, const char *, char [], const char []
|
||||
{ SWIG_LUA_STRING, (char *)"$symname", 0, 0, (void *)$value, 0}
|
||||
|
||||
// note: char is treated as a seperate special type
|
||||
// signed char & unsigned char are numbers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue