iWas-Coder / wge

A multithreaded, high performance, fully functional game engine written in pure C, similar in speed to a Wildebeestâ„¢.
https://iwas-coder.github.io/wge
GNU General Public License v3.0
1 stars 0 forks source link

Make all internal/private functions `static` #56

Open iWas-Coder opened 7 months ago

iWas-Coder commented 7 months ago

Describe the feature

In order to optimize the codebase as much as possible, we can define all internal/private funcions as static, so their visibility only spans inside its own translation unit.

Why should it be implemented? (optional)

In order to optimize the codebase as much as possible, also to make the code look as nice as it can get.

Do you think there is any alternative? (optional)

We'll also evaluate if they need to be inlinable or not, depending on its complexity.

Additional context (optional)

N/A

Extra questions (optional)