more %apply char* fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8530c08222
commit
ff7ab7afac
4 changed files with 5 additions and 5 deletions
|
|
@ -68,7 +68,7 @@
|
|||
|
||||
// strings (char* and char[])
|
||||
%typemap(in,checkfn="lua_isstring") const char*, char*
|
||||
%{$1 = ($1_type)lua_tostring(L, $input);%}
|
||||
%{$1 = ($1_ltype)lua_tostring(L, $input);%}
|
||||
|
||||
%typemap(in,checkfn="lua_isstring") const char[ANY], char[ANY]
|
||||
%{$1 = (char*)lua_tostring(L, $input);%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue