mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Rename C's foo_constructor to foo_initializer.
This commit is contained in:
1 parent
552fcde35a
commit
a28dba7fd9
10 files changed
+115
-115
No files matched your search
@@ -151,7 +151,7 @@ func (g *gen) writeFuncImplHeader(b *buffer) error {
|
||||
b.writes("}")
|
||||
|
||||
b.printf("if (self->private_impl.magic != PUFFS_MAGIC) {"+
|
||||
"self->private_impl.status = %sERROR_CONSTRUCTOR_NOT_CALLED; }", g.PKGPREFIX)
|
||||
"self->private_impl.status = %sERROR_INITIALIZER_NOT_CALLED; }", g.PKGPREFIX)
|
||||
|
||||
b.writes("if (self->private_impl.status < 0) {")
|
||||
if g.currFunk.suspendible {
|
||||
|
||||
Reference in new issue
Block a user