From 20076f7271e19ecc259014681ba733047bea4d9b Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Fri, 24 Jun 2022 12:49:00 -0400 Subject: Remove unnecessary typedef Idk why I thought that was necessary to avoid: "struct Name" in every place? maybe its a C thing? IDR --- src/LuaApi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LuaApi.h') diff --git a/src/LuaApi.h b/src/LuaApi.h index 43bd50f..9da5c0a 100644 --- a/src/LuaApi.h +++ b/src/LuaApi.h @@ -36,7 +36,7 @@ struct LState { lua_State *onintro; lua_State *onwin; lua_State *onloss; -} typedef LState; +}; const char *ON_KEYPRESS = "onKeyPress"; const char *ON_UPDATE = "onUpdate"; -- cgit v1.2.3-54-g00ecf