mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Add WUFFS_CONFIG__STATIC_FUNCTIONS
This commit is contained in:
1 parent
b82a1992de
commit
8a6e177701
7 files changed
+125
-73
No files matched your search
@@ -79,7 +79,9 @@ const (
|
||||
func (g *gen) writeFuncSignature(b *buffer, n *a.Func, cpp uint32) error {
|
||||
if cpp != cppNone {
|
||||
b.writes("inline ")
|
||||
} else if !n.Public() {
|
||||
} else if n.Public() {
|
||||
b.writes("WUFFS_BASE__MAYBE_STATIC ")
|
||||
} else {
|
||||
b.writes("static ")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user