diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 18:09:12 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 18:09:12 -0500 |
| commit | f66f8ad7119207b99f00ea2ea389550ee65db5b3 (patch) | |
| tree | 5b5a7c887b311e3de2f2cb293b1228598c5b9eb1 /structs.c | |
| parent | 4b5e4cd1f21582f5e5fa682ab4e4bff252963468 (diff) | |
Add serialization and deserialization
Diffstat (limited to 'structs.c')
| -rw-r--r-- | structs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ CORD compile_struct_header(env_t *env, ast_t *ast) full_name, "_t value;\n" "struct {\n" "char _padding[", heap_strf("%zu", unpadded_struct_size(t)), "];\n", - "Bool_t is_null;\n" + "Bool_t is_none:1;\n" "};\n" "};\n" "} ", namespace_prefix(env, env->namespace), "$Optional", def->name, "_t;\n" |
