summaryrefslogtreecommitdiff
path: root/include/state.h
diff options
context:
space:
mode:
authorjussi2024-02-18 19:46:50 +0200
committerjussi2024-02-18 19:46:50 +0200
commit836c9d1d0005c32714c89b3adecbb232472b494a (patch)
tree885fcafb39079e83fbc7f66b5b4b2b2dc77aa321 /include/state.h
parent9b27daefc225752f3f24ea862e9c2be13f8addf6 (diff)
downloadreilua-enhanced-836c9d1d0005c32714c89b3adecbb232472b494a.tar.gz
reilua-enhanced-836c9d1d0005c32714c89b3adecbb232472b494a.tar.bz2
reilua-enhanced-836c9d1d0005c32714c89b3adecbb232472b494a.zip
Pointer variable declaration style change.
Diffstat (limited to 'include/state.h')
-rw-r--r--include/state.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/state.h b/include/state.h
index 9a29720..f38aaf1 100644
--- a/include/state.h
+++ b/include/state.h
@@ -5,17 +5,17 @@
#endif
typedef struct {
- char *exePath;
+ char* exePath;
bool hasWindow;
bool run;
bool gcUnload;
- lua_State *luaState;
+ lua_State* luaState;
Vector2 resolution;
int logLevelInvalid;
Font defaultFont;
Material defaultMaterial;
Texture defaultTexture;
- int *RLGLcurrentShaderLocs;
+ int* RLGLcurrentShaderLocs;
/* Events. */
#ifdef PLATFORM_DESKTOP
/* Window events. */
@@ -38,12 +38,12 @@ typedef struct {
GLFWpentabletproximityfun glfwtabletProximityCallback;
#elif PLATFORM_DESKTOP_SDL
int SDL_eventQueueLen;
- SDL_Event *SDL_eventQueue;
+ SDL_Event* SDL_eventQueue;
#endif
} State;
extern State *state;
-bool stateInit( int argn, const char **argc, const char *exePath );
-void stateInitInterpret( int argn, const char **argc );
+bool stateInit( int argn, const char** argc, const char* exePath );
+void stateInitInterpret( int argn, const char** argc );
void stateFree();