Generate C constructors and destructors.

This commit is contained in:
Nigel Tao committed 2017-05-26 16:32:30 +10:00
1 parent a1dd73a58c
commit ca9fba83c5
5 files changed
+98 -12

No files matched your search

+1
View File
@@ -5,6 +5,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
// Puffs requires a word size of at least 32 bits because it assumes that
// converting a u32 to usize will never overflow. For example, the size of a