Merge branch 'master' of https://github.com/nothings/stb
This commit is contained in:
commit
578b4e18b4
@ -16,8 +16,9 @@ libraries.)
|
|||||||
|
|
||||||
Include a "header-file" section with header-file
|
Include a "header-file" section with header-file
|
||||||
guards and declarations for all the functions,
|
guards and declarations for all the functions,
|
||||||
but don't guard the implementation. That way,
|
but only guard the implementation with LIBRARYNAME_IMPLEMENTATION,
|
||||||
if client's header file X includes your header file for
|
not the header-file guard. That way, if client's
|
||||||
|
header file X includes your header file for
|
||||||
declarations, they can still include header file X
|
declarations, they can still include header file X
|
||||||
in the source file that creates the implementation;
|
in the source file that creates the implementation;
|
||||||
if you guard the implementation too, then the first
|
if you guard the implementation too, then the first
|
||||||
|
Loading…
Reference in New Issue
Block a user