Re:RGFW: Single-header C99 window abstraction library
by uecker on Sunday November 24, 2024 @10:45AM
(#42228480)
I am not say it is hard. But I find having a .c/.h pair more useful and easier to work with.
Re:RGFW: Single-header C99 window abstraction library
by colleagueRiley on Sunday November 24, 2024 @11:44AM
(#42228791)
No lol
Re:RGFW: Single-header C99 window abstraction library
by uecker on Sunday November 24, 2024 @01:04PM
(#42229267)
Because looking up a macro name for each library is easier than adding a c file to your makefile? You could still always do
#include "impl.c"
and this would still be nicer than #define XZUGG_IMPL
#include "impl.h"
The single-header format also gives you MORE ways to compile the library and control which features to use or not use.