Have gen's "single file C library" be .h not .c

This commit is contained in:
Nigel Tao committed 2018-07-14 09:26:10 +10:00
1 parent eac9ac13d2
commit f2e683ab69
4 files changed
+12 -7

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ func (h *genHelper) genDir(dirname string, qualFilenames []string) error {
suffix := lang
if suffix == "c" {
// TODO: suffix = "h"
suffix = "h"
}
if err := h.genFile(dirname, lang, suffix, out); err != nil {