RobLoach / raylib-aseprite

Load Aseprite files for animated sprites in raylib.
zlib License
70 stars 5 forks source link

STATIC #12

Open RobLoach opened 3 years ago

RobLoach commented 3 years ago

https://github.com/nothings/stb/blob/master/docs/stb_howto.txt

ALLOW STATIC IMPLEMENTATION

Have a #define which makes function declarations and function definitions static. This makes the implementation private to the source file that creates it. This allows people to use your library multiple times in their project without collision. (This is only necessary if your library has configuration macros or global state, or if your library has multiple versions that are not backwards compatible. I've run into both of those cases.)