Reply To: Debugging Support for Lua

Home Forums General Programming Debugging Support for Lua Reply To: Debugging Support for Lua

#30354
synth
Participant
    • Topics: 13
    • Replies: 35
    • Total: 48

    Trying with :

    	lua_pushcfunction(luaState, luaopen_io);
    	lua_pushliteral(luaState, "io");
    	lua_call(luaState, 1, 0);

    in CtrlrLuaManager::CtrlrLuaManager(CtrlrPanel &_owner)

    —————-

    ok that did work and “local io = io or require “io” works now

    • This reply was modified 9 years, 6 months ago by synth.
    Ctrlr