From 9135abefb8c76a07ff9aaa5aa3fed9430ec7158e Mon Sep 17 00:00:00 2001 From: Fierelier Date: Tue, 13 Jun 2023 06:08:59 +0200 Subject: [PATCH] Rename engine_texture_get_color to engine_texture_color_get --- src/lua_manual.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lua_manual.c b/src/lua_manual.c index 5853532..c321970 100644 --- a/src/lua_manual.c +++ b/src/lua_manual.c @@ -18,7 +18,7 @@ int engine_luaf_lua_event_get_data(lua_State *L) { return 1; } -int engine_luaf_texture_get_color(lua_State *L) { +int engine_luaf_texture_color_get(lua_State *L) { struct ENGINE_TEXTURE * texture = lua_touserdata(L,1); int x = luaL_checkinteger(L,2); int y = luaL_checkinteger(L,3); @@ -33,6 +33,6 @@ int engine_luaf_texture_get_color(lua_State *L) { void engine_lua_init_manual() { lua_pushcfunction(engine_lua_state,engine_luaf_lua_event_get_data); lua_setglobal (engine_lua_state,"engine_lua_event_get_data"); - lua_pushcfunction(engine_lua_state,engine_luaf_texture_get_color); - lua_setglobal (engine_lua_state,"engine_texture_get_color"); + lua_pushcfunction(engine_lua_state,engine_luaf_texture_color_get); + lua_setglobal (engine_lua_state,"engine_texture_color_get"); }