diff options
| author | Alasdair | 2020-05-14 09:24:09 +0100 |
|---|---|---|
| committer | Alasdair | 2020-05-14 09:24:09 +0100 |
| commit | 0c4c75d13aad176fc664e159d2b0c48c77b41d27 (patch) | |
| tree | 65fdabaa3759da129a499bd8a87ab7163c771e89 /lib/sail.h | |
| parent | b8f9e2a078035cc8e797b1c7c0609f6a0c031a2c (diff) | |
Various bugfixes and improvements for updated codegen
Diffstat (limited to 'lib/sail.h')
| -rw-r--r-- | lib/sail.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -74,7 +74,7 @@ bool UNDEFINED(bool)(const unit); */ typedef char *sail_string; -SAIL_BUILTIN_TYPE(sail_string); +SAIL_BUILTIN_TYPE(sail_string) void dec_str(sail_string *str, const mpz_t n); void hex_str(sail_string *str, const mpz_t n); @@ -99,7 +99,7 @@ uint64_t sail_int_get_ui(const sail_int); #define SAIL_INT_FUNCTION(fname, rtype, ...) void fname(rtype*, __VA_ARGS__) -SAIL_BUILTIN_TYPE(sail_int); +SAIL_BUILTIN_TYPE(sail_int) void CREATE_OF(sail_int, mach_int)(sail_int *, const mach_int); void RECREATE_OF(sail_int, mach_int)(sail_int *, const mach_int); @@ -199,7 +199,7 @@ typedef struct { typedef uint64_t mach_bits; typedef lbits sail_bits; -SAIL_BUILTIN_TYPE(lbits); +SAIL_BUILTIN_TYPE(lbits) void CREATE_OF(lbits, fbits)(lbits *, const fbits op, @@ -361,7 +361,7 @@ sbits sub_sbits(const sbits op1, const sbits op2); typedef mpq_t real; -SAIL_BUILTIN_TYPE(real); +SAIL_BUILTIN_TYPE(real) void CREATE_OF(real, sail_string)(real *rop, const sail_string op); void CONVERT_OF(real, sail_string)(real *rop, const sail_string op); |
