diff options
| author | rajdakin <rajdakin@gmail.com> | 2024-09-08 16:43:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-08 16:43:16 +0200 |
| commit | c87a56ef37e34f2f239a8df9e4d08afd0334ddaf (patch) | |
| tree | 50b4c7fc6a0cdc6e2c30f16ed1747cc28d6616a3 /wrapperhelper/src/lang.h | |
| parent | 2e04ff93cabdbdcef060ce5e40f544f4dd6f93bb (diff) | |
| download | box64-c87a56ef37e34f2f239a8df9e4d08afd0334ddaf.tar.gz box64-c87a56ef37e34f2f239a8df9e4d08afd0334ddaf.zip | |
[WRAPPERHELPER] Major enhancements in output quality, allow for generic type mapping (#1807)
Diffstat (limited to 'wrapperhelper/src/lang.h')
| -rw-r--r-- | wrapperhelper/src/lang.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wrapperhelper/src/lang.h b/wrapperhelper/src/lang.h index 2f1cf811..682bbdda 100644 --- a/wrapperhelper/src/lang.h +++ b/wrapperhelper/src/lang.h @@ -162,7 +162,7 @@ typedef struct proc_token_s { struct { enum proc_pragma_e { PRAGMA_ALLOW_INTS, - PRAGMA_MARK_SIMPLE, + PRAGMA_EXPLICIT_CONV, } typ; string_t *val; } pragma; @@ -368,6 +368,7 @@ typedef struct type_s { } fun; } val; size_info_t szinfo; + string_t *converted; // NULL for default behavior } type_t; void type_del(type_t *typ); KHASH_MAP_DECLARE_STR(type_map, type_t*) @@ -387,7 +388,6 @@ typedef struct struct_s { size_t nrefs; int is_struct; // 0 = union, 1 = struct int has_incomplete; // 1 if the last element of the structure is a VLA or if an element of the union recursively contains a VLA - int explicit_simple; size_t nmembers; st_member_t *members; } struct_t; |