Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing segfault

  • Loading branch information...
commit ec629beb3145302e96ac6d8844a4dc29d011dbc8 1 parent b30aa53
@v-for-vandal v-for-vandal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Source/Modules/lua.cxx
View
2  Source/Modules/lua.cxx
@@ -1557,7 +1557,7 @@ class LUA:public Language {
if (result == SWIG_OK) {
// This will add static member variable to the class namespace with name ClassName_VarName
if (v2_compatibility) {
- Swig_save("lua_staticmembervariableHandler", n, "lua:name");
+ Swig_save("lua_staticmembervariableHandler", n, "lua:name", NIL);
String *target_name = Getattr(n, "lua:name");
String *v2_name = Swig_name_member(NIL, class_symname, target_name);
//Printf( stdout, "Name %s, class %s, compt. name %s\n", target_name, class_symname, v2_name ); // TODO: REMOVE
Please sign in to comment.
Something went wrong with that request. Please try again.