Skip to content

[rlsw] Internal functions declarations review - #6028

Open
Bigfoot71 wants to merge 1 commit into
raysan5:masterfrom
Bigfoot71:inline-review
Open

[rlsw] Internal functions declarations review#6028
Bigfoot71 wants to merge 1 commit into
raysan5:masterfrom
Bigfoot71:inline-review

Conversation

@Bigfoot71

Copy link
Copy Markdown
Contributor

Rework the internal functions declarations by omitting inline entirely and relying solely on SW_INLINE to force inlining only on specific cases.

SW_INLINE is only used for trivial functions, short generated functions called from a single location, and simple overloads. Some short functions are left to the compiler to inline based on the call site.

Some other trivial functions are intentionally not force-inlined, as they are primarily called through function pointers.

As originally suggested here: #5996

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.

1 participant