mirror of https://github.com/axmolengine/axmol.git
fix lua project compile error
This commit is contained in:
parent
81d562803b
commit
81070a5299
|
@ -76,9 +76,9 @@ namespace cocostudio
|
|||
customOptions.Accept(writer);
|
||||
|
||||
auto stack = LuaEngine::getInstance()->getLuaStack();
|
||||
stack->pushString(classType.c_str(), classType.size());
|
||||
stack->pushString(classType.c_str(), static_cast<int>(classType.size()));
|
||||
stack->pushObject(widget, "cc.Ref");
|
||||
stack->pushString(buffer.GetString(), buffer.Size());
|
||||
stack->pushString(buffer.GetString(), static_cast<int>(buffer.GetSize()));
|
||||
stack->executeFunctionByHandler(_setPropsFunc, 3);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue