``` lua_register(L,"button",button); ```but whenever I use the function pointer I get the error "lua_register is not callable using argument types (lua_State*, char*,extern (C) int function(lua_State* L)"
``` lua_register(L,"button",&button); ```
Is this a bug, or am I doing something wrong here?