satoren
satoren
Can you try below. ``` auto result = state["game_data"]["task"]["test"](state["game_data"]["task"]) ``` or ``` auto result = state.loadstring("return game_data.task:test()")() ``` If you do not need return data ``` state("game_data.task:test()") ```
> I guess weakTypeTest means: isConvertible and typeTest means isType Yes. that's right. `void`, `void*` and `const void*` are distinguish, like a `char` and, `char*`. and `void*` is not specialized....
static method is same to free function.
My English poor too. I'm sorry. I don't know what you want. You want to call Lua function from c++?
Hi, I don't get it error. but look like slightly different for C api and kaguya code. Could you try it with code like the one below? Match completely code...
Hi What is tool chain? Could it be that you used different `lua_State*` or `_ENV` .
thanks. It's bug
coroutine is return "dead" if function is not assigned. because can not distinguish both. Can you try this? ``` state("corfun = function(arg)" "coroutine.yield(arg) " "coroutine.yield(arg2) " "coroutine.yield(arg3) " "return arg*4...
It is maybe like this ```c++ int luafnc(lua_State* L) { int nRows = dataTable.NumOfRows(); int nField = dataTable.NumOfFields(); kaguya::State state(L); kaguya::LuaTable array= state.newTable(nRows); for (int i = 0; i <...
That is bug same to #12.