From 9b6c354fe61c4535776c2c61a1f37248838ecb6e Mon Sep 17 00:00:00 2001 From: nothings Date: Sun, 17 Aug 2014 21:16:18 -0700 Subject: [PATCH] Update stb_howto.txt --- docs/stb_howto.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/stb_howto.txt b/docs/stb_howto.txt index 231d99a..d0e8ec8 100644 --- a/docs/stb_howto.txt +++ b/docs/stb_howto.txt @@ -16,8 +16,9 @@ libraries.) Include a "header-file" section with header-file guards and declarations for all the functions, -but don't guard the implementation. That way, -if client's header file X includes your header file for +but only guard the implementation with LIBRARYNAME_IMPLEMENTATION, +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 in the source file that creates the implementation; if you guard the implementation too, then the first