Skip to content

Conversation

@Filyus
Copy link
Contributor

@Filyus Filyus commented May 11, 2024

This fix allows to parse () like (void) in the function parameters.
Another way to fix is to add void into following lines:

raylib/src/rlgl.h

Lines 594 to 595 in f622021

RLAPI double rlGetCullDistanceNear(); // Get cull plane distance near
RLAPI double rlGetCullDistanceFar(); // Get cull plane distance far
these lines are from the commit: 4b0e25d

@raysan5
Copy link
Owner

raysan5 commented May 12, 2024

@Filyus Actually those functions need to be reviewed. C requires defining void if function should not receive parameters, empty parenthesis mean any number of input parameters.

raysan5 added a commit that referenced this pull request May 12, 2024
@raysan5 raysan5 merged commit 3f13f79 into raysan5:master May 12, 2024
@raysan5
Copy link
Owner

raysan5 commented May 12, 2024

@Filyus I'm merging in case of that malformed side-case but it shouldn't be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants