Original Post
ok so i'm a little fuzzy on how to do this, the function dose not need to return any thing. i'm confused on how lua_getglobal works, i want to use a function in Lua that i'm going to call "main_loop" but after a declare it as a global variable using get global how do i call it? i think i just use lua_call(L,0,0) since there are no return values or arguments. but i'm unsure thats why i'm asking.