Victor Bombi
|
4c1d18802f
|
cpp2ffi: reconstruct signature from argsT (needed after allowing not named function arguments)
|
2020-09-08 18:38:56 +02:00 |
|
Victor Bombi
|
aa75ad3e99
|
cpp2ffi: dont break on untagged enums or unamed function arguments but post warning and try to repair
|
2020-09-08 16:31:58 +02:00 |
|
Victor Bombi
|
dbcc6d1529
|
cpp2ffi: implement func templates by ftemplate_list
|
2020-09-07 12:29:46 +02:00 |
|
Victor Bombi
|
53156c32c6
|
cpp2ffi: export parse_enum_value (used in LuaJIT-ImGui class_gen)
|
2020-09-06 18:43:07 +02:00 |
|
Victor Bombi
|
a91865dc27
|
cpp2ffi: add ":" to characters in default detection
|
2020-09-06 15:59:03 +02:00 |
|
Victor Bombi
|
bb0dd1ac93
|
cpp2ffi: split func_header_generate into func_header_generate_structs and func_header_generate_funcs
|
2020-09-06 10:49:48 +02:00 |
|
Victor Bombi
|
59e49145e8
|
cpp2ffi: skip static variable from template detection also
|
2020-09-05 11:25:45 +02:00 |
|
Victor Bombi
|
678ae8b32b
|
cpp2ffi: use table_do_sorted in func_header_generate to have more output consistency
|
2020-09-04 16:58:42 +02:00 |
|
Victor Bombi
|
2b0058b61e
|
generator: cpp2ffi rule out template typename (ex. T) so avoid correction in generator.lua
|
2020-09-04 16:58:42 +02:00 |
|
Victor Bombi
|
c6c733bac4
|
new parser: clean_structR1 clean vardef_re initializations
|
2020-09-04 10:51:57 +02:00 |
|
Victor Bombi
|
bf98608d4f
|
move parseFunctions to gen_structs_and_enums
|
2020-09-04 10:51:57 +02:00 |
|
Victor Bombi
|
83b5cc19a0
|
clean get_parents_name
|
2020-09-04 10:51:57 +02:00 |
|
Victor Bombi
|
e9fa5cb5e2
|
new generator: embeded_structs use get_parents_name
|
2020-09-04 10:51:56 +02:00 |
|
Victor Bombi
|
66ae832d05
|
new generator move embeded_structs detection to gen_structs_and_enums
|
2020-09-04 10:51:56 +02:00 |
|
Victor Bombi
|
1d7ef93de9
|
new parser move templates in struct detection to parseItems
|
2020-09-04 10:51:56 +02:00 |
|
Victor Bombi
|
d08bad2477
|
new recursive parser3: take care of static functions
|
2020-09-04 10:51:56 +02:00 |
|
Victor Bombi
|
2afe1f5beb
|
new recusive parser2
|
2020-09-04 10:51:56 +02:00 |
|
Victor Bombi
|
7b6e549e9c
|
cpp2ffi: new recursive parser
|
2020-09-04 10:51:56 +02:00 |
|
Victor Bombi
|
cfdfe11c10
|
cpp2ffi: skip function_re and functionD_re as not processed (they are processed already)
|
2020-08-31 11:19:43 +02:00 |
|
Victor Bombi
|
a0056887df
|
cpp2ffi: function_re: avoid confusion with asignment, templated args: allow several, add not processed info
|
2020-08-31 11:19:42 +02:00 |
|
Victor Bombi
|
a486f2999a
|
cpp2ffi: embeded_enums typedef generation (for ImGuizmo) and gen_structs_and_enums keeps strings (to avoid running twice)
|
2020-08-29 14:29:33 +02:00 |
|
Victor Bombi
|
7cf1592256
|
cpp2ffi: get enums in namespace (needed by ImGuizmo)
|
2020-08-28 19:05:48 +02:00 |
|
Victor Bombi
|
f4e1cc4135
|
generator: move C writting functions inside cpp2ffi
|
2020-08-28 17:10:36 +02:00 |
|
Victor Bombi
|
e328a55f4c
|
cpp2ffi: functions defined inside class may have optional ; ending (needed by implot v0.5)
|
2020-08-28 13:00:39 +02:00 |
|
Victor Bombi
|
fb2c0816db
|
cpp2ffi: name [] to name[]
|
2020-08-28 10:45:38 +02:00 |
|
Victor Bombi
|
47fbe806a2
|
cpp2ffi: add json parsing for typedef struct inside namespace (STB_TexteditState)
|
2020-08-24 20:06:17 +02:00 |
|
Victor Bombi
|
050d68a614
|
cpp2ffi: typedef_st_re modification for separating diferent consecutive typedef structs
|
2020-08-24 20:06:17 +02:00 |
|
Victor Bombi
|
45c3de9423
|
cpp2ffi: add locations to struct_and_enums
|
2020-07-07 10:02:21 +02:00 |
|
Victor Bombi
|
4645c082fa
|
cpp2ffi.lua: remove explicit keyword, get template_type from parser.templates instead of string substitution (solves issues #140 and #141)
|
2020-06-30 09:39:48 +02:00 |
|
Victor Bombi
|
ab53af765f
|
non const ref to pointer
|
2020-06-06 11:41:33 +02:00 |
|
Victor Bombi
|
a27b5236db
|
keep implementations locations
|
2020-06-05 20:45:08 +02:00 |
|
Victor Bombi
|
19e41cf8e9
|
keep function locations
keep locations
|
2020-06-05 20:45:08 +02:00 |
|
Victor Bombi
|
16846a206b
|
FnPtr changes to FnretvalPtr to allow 2 overloadings with different FnPtr, corrected checking equal ov_cimguiname
|
2020-05-30 15:30:57 +02:00 |
|
Victor Bombi
|
787939bebc
|
getCname uses namespace
|
2020-05-16 16:50:12 +02:00 |
|
Victor Bombi
|
be187bcdc4
|
avoid last , in enums parsing
|
2020-04-28 14:05:05 +02:00 |
|
Victor Bombi
|
39efe04d04
|
calc value in enums where it is sum of known values
|
2020-04-20 14:50:37 +02:00 |
|
Victor Bombi
|
95d494d91d
|
parse unnamed unions
|
2020-04-17 21:15:00 +02:00 |
|
Victor Bombi
|
4a63c7e2ae
|
clean_spaces with mult operator
|
2020-04-17 20:27:01 +02:00 |
|
Victor Bombi
|
a99713a8ba
|
dont try to get typedef in typedef struct
|
2020-04-14 10:31:19 +02:00 |
|
Victor Bombi
|
400b7d76dd
|
typedef_st_re addition
|
2020-04-14 10:02:39 +02:00 |
|
Victor Bombi
|
18297589a5
|
all overloads will have a postfix for avoiding collision with generic version
|
2020-03-28 12:23:12 +01:00 |
|
Victor Bombi
|
760662ecea
|
drop nonUDT1 second (not dropping but take place of no nonUDT)
|
2020-03-27 13:49:16 +01:00 |
|
Victor Bombi
|
6033d331f9
|
drop nonUDT2 and empty table cimgui_overloads
|
2020-03-27 13:07:27 +01:00 |
|
Victor Bombi
|
e7a883d9f3
|
use loadstring for parsing size of struct members, clean spaces around +
|
2020-03-26 11:56:17 +01:00 |
|
Victor Bombi
|
906fd09e67
|
dont save first underscore in templated types
|
2020-03-26 08:44:51 +01:00 |
|
Victor Bombi
|
d1ac207b45
|
take care of spaces in templated type
|
2020-03-26 08:13:38 +01:00 |
|
Victor Bombi
|
77ee4fad38
|
cpp2ffi: change vardef_re allowing parenthesis for ImU8 Used4kPagesMap[((sizeof(ImWchar16) == 2 ? 0xFFFF : 0x10FFFF)+1)/4096/8];
|
2020-03-23 16:28:28 +01:00 |
|
Victor Bombi
|
0cbc6bf55f
|
simplify parse_enum_values function
|
2020-02-29 14:18:11 +01:00 |
|
Victor Bombi
|
02677f9691
|
more robust parsing of enum values
|
2020-02-29 14:06:48 +01:00 |
|
Victor Bombi
|
e2c14f1b41
|
activate cimgui_internal.h generation
|
2020-02-28 23:14:03 +01:00 |
|