Update zero-initialization example

This commit is contained in:
Nigel Tao committed 2019-11-15 20:34:26 +11:00
1 parent afb76b9b50
commit a781e038bb
1 file changed
+3 -2
+3 -2
View File
@@ -10,8 +10,9 @@ zero-initialized), for performance reasons:
uint32_t flags = 0;
etc
// Uncomment this line to take the option.
// flags |= WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED;
// Setting this flag bit takes the option. Its presence or absence has no
// effect if the WUFFS_INITIALIZE__ALREADY_ZEROED flag bit is also set.
flags |= WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED;
wuffs_foo__bar__initialize(etc, flags);
```