Generate "WUFFS C HEADER ENDS HERE"

Future commits will mean more than one "#ifdef WUFFS_IMPLEMENTATION".
This commit is contained in:
Nigel Tao committed 2018-10-06 09:12:04 +10:00
1 parent 7039a5b9c7
commit dc17398d64
5 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -778,7 +778,7 @@ func (g *gen) writeCppImpls(b *buffer) error {
}
var (
wiStart = []byte("\n#ifdef WUFFS_IMPLEMENTATION\n\n")
wiStart = []byte("\n// WUFFS C HEADER ENDS HERE.\n#ifdef WUFFS_IMPLEMENTATION\n\n")
wiEnd = []byte("\n#endif // WUFFS_IMPLEMENTATION\n\n")
wigbpStart = []byte("\n#ifndef WUFFS_INCLUDE_GUARD__BASE_PUBLIC\n")