only include the h file when it is being created, and make the #endif in the h file safer for picky compilers

master
Oz Linden 2011-09-12 07:21:22 -04:00
parent 49d0e291d8
commit 9df77524fc
2 changed files with 3 additions and 2 deletions

View File

@ -26,4 +26,5 @@
*/
#'%c'%35#include "#filename#.h"
#'' if ( skip_h ) else '%cinclude "%s.h"' % (35,filename)#

View File

@ -28,4 +28,4 @@
#'%c'%35#define LL_#filename.upper().replace('-','_')#_H
#'%c'%35#endif LL_#filename.upper().replace('-','_')#_H
#'%c'%35#endif // LL_#filename.upper().replace('-','_')#_H