Commit Graph

775 Commits

Author SHA1 Message Date
Victor Bombi
c2bd39271b README.md: update with location info 2020-09-25 14:53:35 +02:00
Victor Bombi
5f4aa99a3c cpp2ffi and generator: add parser:take_lines and use it 2020-09-25 14:08:36 +02:00
Victor Bombi
aa5d3646be generation 2020-09-25 13:52:25 +02:00
Victor Bombi
a898224cdc cpp2ffi and generator: cleaning and add linenumber for imgui_impl_ files also 2020-09-25 13:51:59 +02:00
Victor Bombi
10c52cc266 generation 2020-09-25 13:25:34 +02:00
Victor Bombi
350a316439 generator.lua: keep defaults values as strings 2020-09-25 13:25:14 +02:00
Victor Bombi
02834e8480 generate 2020-09-25 13:15:26 +02:00
Victor Bombi
d52d267351 cpp2ffi: add destructors location info and realdestructor field 2020-09-25 13:15:12 +02:00
Victor Bombi
c37df4d0b8 generate 2020-09-25 10:00:15 +02:00
Victor Bombi
31b598af72 cpp2ffi: dont generate comments 2020-09-25 09:59:59 +02:00
Victor Bombi
7685bab86f generation 2020-09-24 16:21:29 +02:00
Victor Bombi
abe5b56fd6 cpp2ffi and generator: allow parsing of header lines 2020-09-24 16:21:11 +02:00
Victor Bombi
3270e6b0f2 cpp2ffi: manage comments in several enums values in one line 2020-09-24 14:02:44 +02:00
Victor Bombi
9339b62303 cpp2ffi: clean enumbody only if there is one 2020-09-24 13:18:54 +02:00
Victor Bombi
81e7df17c9 generation 2020-09-24 12:32:53 +02:00
Victor Bombi
59e6a69d88 generator.lua: add function to repair default values 2020-09-24 12:32:36 +02:00
Victor Bombi
6ee1d4c3fc generation 2020-09-24 11:57:31 +02:00
Victor Bombi
b14352b9ef cpp2ffi: dont keep empty comments 2020-09-24 11:56:56 +02:00
Victor Bombi
277e37f4ef generation 2020-09-24 11:14:13 +02:00
Victor Bombi
54e64ba9c4 cpp2ffi: dont add comments to cimgui.h 2020-09-24 11:13:14 +02:00
Victor Bombi
060df0f4eb cpp2ffi: process comments also 2020-09-24 10:53:41 +02:00
tga
9edbc20e89 Makefile add option to compile as static lib 2020-09-20 16:11:55 +02:00
Victor Bombi
67c49ea1fd Merge pull request #149 from slmjkdbtl/make-static
Makefile: add option to compile as static lib
2020-09-20 16:09:08 +02:00
Victor Bombi
101631d3c8 cpp2ffi: only generate typedef of structs when it is a vardef_re of struct, location get more defines (not only two words) 2020-09-11 18:13:35 +02:00
Victor Bombi
b230afa909 cpp2ffi: only generate typedef of structs when it is a vardef_re of struct, location get more defines (not only two words) 2020-09-11 18:12:13 +02:00
Victor Bombi
d59448763f Freetype2 allow generation and compilation with Freetype2 2020-09-10 12:22:35 +02:00
Victor Bombi
d9b50e696f Freetype2 allow generation and compilation with Freetype2 2020-09-10 12:20:58 +02:00
Victor Bombi
1ed28e5a0e generation 2020-09-09 18:01:06 +02:00
Victor Bombi
db6d57f899 cpp2ffi: new parseFunction allowing not named args and some & corrections 2020-09-09 18:00:31 +02:00
Victor Bombi
6fbdf5ce62 generation 2020-09-09 17:59:31 +02:00
Victor Bombi
7bbb7c79b7 cpp2ffi: new parseFunction allowing not named args and some & corrections 2020-09-09 17:58:55 +02:00
tga
e6540f7682 Makefile add option to compile as static lib 2020-09-09 05:04:29 -04:00
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
3b73c15805 cpp2ffi: reconstruct signature from argsT (needed after allowing not named function arguments) 2020-09-08 18:37:36 +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
bcad423dc7 cpp2ffi: dont break on untagged enums or unamed function arguments but post warning and try to repair 2020-09-08 16:30:51 +02:00
Victor Bombi
dbcc6d1529 cpp2ffi: implement func templates by ftemplate_list 2020-09-07 12:29:46 +02:00
Victor Bombi
477f60f822 cpp2ffi: implement func templates by ftemplate_list 2020-09-07 12:28:45 +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
1109a79367 cpp2ffi: export parse_enum_value (used in LuaJIT-ImGui class_gen) 2020-09-06 18:42:02 +02:00
Victor Bombi
a91865dc27 cpp2ffi: add ":" to characters in default detection 2020-09-06 15:59:03 +02:00
Victor Bombi
d766b79138 cpp2ffi: add ":" to characters in default detection 2020-09-06 15:58: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
596f3008f6 cpp2ffi: split func_header_generate into func_header_generate_structs and func_header_generate_funcs 2020-09-06 10:48:39 +02:00
Victor Bombi
59e49145e8 cpp2ffi: skip static variable from template detection also 2020-09-05 11:25:45 +02:00
Victor Bombi
512efb3505 cpp2ffi: skip static variable from template detection also 2020-09-05 11:24:03 +02:00
Victor Bombi
75c05adbcb generation 2020-09-04 16:59:21 +02:00
Victor Bombi
22728d5470 generator.lua: generate_templates with table_do_sorted for output consistency 2020-09-04 16:58:42 +02:00
Victor Bombi
aeac366ece generator.lua: pre sorted changes 2020-09-04 16:58:42 +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