Pointer variable declaration style change.

This commit is contained in:
jussi
2024-02-18 19:46:50 +02:00
parent 9b27daefc2
commit 836c9d1d00
33 changed files with 2476 additions and 2476 deletions

View File

@@ -6,7 +6,7 @@
State *state;
bool stateInit( int argn, const char **argc, const char *exePath ) {
bool stateInit( int argn, const char** argc, const char* exePath ) {
state = malloc( sizeof( State ) );
state->exePath = malloc( STRING_LEN * sizeof( char ) );
@@ -32,7 +32,7 @@ bool stateInit( int argn, const char **argc, const char *exePath ) {
state->defaultMaterial = LoadMaterialDefault();
state->defaultTexture = (Texture){ 1, 1, 1, 1, 7 };
state->RLGLcurrentShaderLocs = malloc( RL_MAX_SHADER_LOCATIONS * sizeof( int ) );
int *defaultShaderLocs = rlGetShaderLocsDefault();
int* defaultShaderLocs = rlGetShaderLocsDefault();
for ( int i = 0; i < RL_MAX_SHADER_LOCATIONS; i++ ) {
state->RLGLcurrentShaderLocs[i] = defaultShaderLocs[i];
@@ -45,7 +45,7 @@ bool stateInit( int argn, const char **argc, const char *exePath ) {
return state->run;
}
void stateInitInterpret( int argn, const char **argc ) {
void stateInitInterpret( int argn, const char** argc ) {
state = malloc( sizeof( State ) );
luaInit( argn, argc );
}