فهرست منبع

Merge branch 'master' of https://github.com/nothings/stb

Sean Barrett 11 سال پیش
والد
کامیت
578b4e18b4
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      docs/stb_howto.txt

+ 3 - 2
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