Skip to content

Commit aa475b1

Browse files
committed
REVIEWED: Code sections description for consistency
1 parent 8b3c68f commit aa475b1

File tree

8 files changed

+15
-16
lines changed

8 files changed

+15
-16
lines changed

examples/models/rlights.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void UpdateLightValues(Shader shader, Light light); // Send light proper
109109
static int lightsCount = 0; // Current amount of created lights
110110

111111
//----------------------------------------------------------------------------------
112-
// Module specific Functions Declaration
112+
// Module Internal Functions Declaration
113113
//----------------------------------------------------------------------------------
114114
// ...
115115

examples/shaders/rlights.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void UpdateLightValues(Shader shader, Light light); // Send light proper
109109
static int lightsCount = 0; // Current amount of created lights
110110

111111
//----------------------------------------------------------------------------------
112-
// Module specific Functions Declaration
112+
// Module Internal Functions Declaration
113113
//----------------------------------------------------------------------------------
114114
// ...
115115

examples/shapes/raygui.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ static void DrawRectangleGradientV(int posX, int posY, int width, int height, Co
14801480
#endif // RAYGUI_STANDALONE
14811481

14821482
//----------------------------------------------------------------------------------
1483-
// Module specific Functions Declaration
1483+
// Module Internal Functions Declaration
14841484
//----------------------------------------------------------------------------------
14851485
static void GuiLoadStyleFromMemory(const unsigned char *fileData, int dataSize); // Load style from memory (binary only)
14861486

@@ -4479,7 +4479,7 @@ void GuiSetIconScale(int scale)
44794479
#endif // !RAYGUI_NO_ICONS
44804480

44814481
//----------------------------------------------------------------------------------
4482-
// Module specific Functions Definition
4482+
// Module Internal Functions Definition
44834483
//----------------------------------------------------------------------------------
44844484

44854485
// Load style from memory

src/external/rprand.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@ static uint32_t rprand_state[4] = { // Xoshiro128** state, initializ
156156
};
157157

158158
//----------------------------------------------------------------------------------
159-
// Module internal functions declaration
159+
// Module Internal Functions Declaration
160160
//----------------------------------------------------------------------------------
161161
static uint32_t rprand_xoshiro(void); // Xoshiro128** generator (uses global rprand_state)
162162
static uint64_t rprand_splitmix64(void); // SplitMix64 generator (uses seed to generate rprand_state)
163163

164164
//----------------------------------------------------------------------------------
165-
// Module functions definition
165+
// Module Functions Definition
166166
//----------------------------------------------------------------------------------
167167
// Set rprand_state for Xoshiro128**
168168
// NOTE: We use a custom generation algorithm using SplitMix64
@@ -236,7 +236,7 @@ void rprand_unload_sequence(int *sequence)
236236
}
237237

238238
//----------------------------------------------------------------------------------
239-
// Module internal functions definition
239+
// Module Internal Functions Definition
240240
//----------------------------------------------------------------------------------
241241
static inline uint32_t rprand_rotate_left(const uint32_t x, int k)
242242
{

src/rcamera.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ RLAPI Matrix GetCameraProjectionMatrix(Camera *camera, float aspect);
216216
//...
217217

218218
//----------------------------------------------------------------------------------
219-
// Module specific Functions Declaration
219+
// Module Internal Functions Declaration
220220
//----------------------------------------------------------------------------------
221221
//...
222222

src/rgestures.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static GesturesData GESTURES = {
238238
};
239239

240240
//----------------------------------------------------------------------------------
241-
// Module specific Functions Declaration
241+
// Module Internal Functions Declaration
242242
//----------------------------------------------------------------------------------
243243
static float rgVector2Angle(Vector2 initialPosition, Vector2 finalPosition);
244244
static float rgVector2Distance(Vector2 v1, Vector2 v2);
@@ -481,7 +481,7 @@ float GetGesturePinchAngle(void)
481481
}
482482

483483
//----------------------------------------------------------------------------------
484-
// Module specific Functions Definition
484+
// Module Internal Functions Definition
485485
//----------------------------------------------------------------------------------
486486
// Get angle from two-points vector with X-axis
487487
static float rgVector2Angle(Vector2 v1, Vector2 v2)

src/utils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static const char *internalDataPath = NULL; // Android internal data pat
8282
#endif
8383

8484
//----------------------------------------------------------------------------------
85-
// Module specific Functions Declaration
85+
// Module Internal Functions Declaration
8686
//----------------------------------------------------------------------------------
8787
#if defined(PLATFORM_ANDROID)
8888
FILE *funopen(const void *cookie, int (*readfn)(void *, char *, int), int (*writefn)(void *, const char *, int),
@@ -482,7 +482,7 @@ FILE *android_fopen(const char *fileName, const char *mode)
482482
#endif // PLATFORM_ANDROID
483483

484484
//----------------------------------------------------------------------------------
485-
// Module specific Functions Definition
485+
// Module Internal Functions Definition
486486
//----------------------------------------------------------------------------------
487487
#if defined(PLATFORM_ANDROID)
488488
static int android_read(void *cookie, char *data, int dataSize)

tools/rexm/rexm.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static const char *exCollectionFilePath = NULL; // Env: REXM_EXAMPLES_COLLECTION
129129
static const char *exVSProjectSolutionFile = NULL; // Env REXM_EXAMPLES_VS2022_SLN_FILE
130130

131131
//----------------------------------------------------------------------------------
132-
// Module specific functions declaration
132+
// Module Internal Functions Declaration
133133
//----------------------------------------------------------------------------------
134134
static int FileTextFind(const char *fileName, const char *find);
135135
static int FileTextReplace(const char *fileName, const char *find, const char *replace);
@@ -1283,9 +1283,8 @@ int main(int argc, char *argv[])
12831283
}
12841284

12851285
//----------------------------------------------------------------------------------
1286-
// Module specific functions definition
1286+
// Module Internal Functions Definition
12871287
//----------------------------------------------------------------------------------
1288-
12891288
// Update required files from examples collection
12901289
static int UpdateRequiredFiles(void)
12911290
{
@@ -1772,7 +1771,7 @@ static int FileMove(const char *srcPath, const char *dstPath)
17721771

17731772
// Get example info from example file header
17741773
// NOTE: Expecting the example to follow raylib_example_template.c
1775-
rlExampleInfo *LoadExampleInfo(const char *exFileName)
1774+
static rlExampleInfo *LoadExampleInfo(const char *exFileName)
17761775
{
17771776
rlExampleInfo *exInfo = (rlExampleInfo *)RL_CALLOC(1, sizeof(rlExampleInfo));
17781777

0 commit comments

Comments
 (0)