Closed dangmoody closed 4 years ago
This has been sorted in one of my development branches and I'll mark it as closed when that all gets merged in.
I can't find the commit where this got fixed, but it got fixed.
Depending on if you're using the C or C++ implementations of the library, you'll have to either include #include <hlml/c/hlml.h>
or #include <hlml/cpp/hlml.h>
.
In one source file you'll also need to define HLML_IMPLEMENTATION
so that the function bodies themselves get defined. This is the same as how the STB libraries work.
The main headers that users include are currently:
It's not obvious that these are the main headers to include (both by name and documentation).
So either this needs to be documented, or better header names need to be thought of.