mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Have gen's "single file C library" be .h not .c
This commit is contained in:
1 parent
eac9ac13d2
commit
f2e683ab69
4 files changed
+12
-7
No files matched your search
@@ -805,7 +805,7 @@ func (g *gen) writeUse(b *buffer, n *a.Use) error {
|
||||
}
|
||||
}
|
||||
|
||||
useeFilename := filepath.Join(g.wuffsRoot, "gen", "c", filepath.FromSlash(useDirname)+".c")
|
||||
useeFilename := filepath.Join(g.wuffsRoot, "gen", "c", filepath.FromSlash(useDirname)+".h")
|
||||
usee, err := ioutil.ReadFile(useeFilename)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user