JamesWrigley
0fe23bd335
cpp2ffi: don't let the generated-header test link
...
The test at the end of cimgui_generation passes neither -c nor -E, so gcc
compiles the .h into a precompiled header and then still tries to link,
failing with "undefined reference to `main'" whenever the toolchain puts
something link-ish on the command line (a -Wl,... or -L from a spec file or
a compiler wrapper). That aborts generation via the assert in get_cdefs.
-fsyntax-only is all this check needs, since only the diagnostics are
inspected and the get_cdefs return value is discarded. -x c is needed too,
without it gcc 5 stays in precompiled-header mode and fails with "output
filename specified twice".
2026-08-20 17:00:05 +02:00
sonoro1234
91ea8b056f
name_conversion clean
2026-08-17 11:33:10 +02:00
sonoro1234
773f3d56c4
cpp2ffi: breaking: call_args_old is gone we have call_args and call_args_conv only when needed
2026-08-13 12:10:25 +02:00
sonoro1234
ba1e982860
cpp2ffi: split with cpp2ffi_extra.lua
2026-08-13 11:23:16 +02:00
sonoro1234
a5ae0de007
cpp2ffi: 3 scope corrections
2026-08-12 10:52:24 +02:00
sonoro1234
2d96a3ed57
cpp2ffi: add forced_nonPOD, skip_template, skip_convert_gen (cimnodes_editor work)
2026-08-09 18:05:55 +02:00
sonoro1234
e48d428b16
cpp2ffi: opaque returns assign to static obj
2026-08-08 10:47:26 +02:00
sonoro1234
eee47a982e
cpp2ffi: add VARGS0 to variadic struct functions, dont return on void return
2026-08-04 20:48:40 +02:00
sonoro1234
22bc54470a
correct manual code error
2026-08-04 09:01:22 +02:00
sonoro1234
fedb6d334a
cpp2ffi: test all overloads for varargs
2026-08-03 22:06:54 +02:00
sonoro1234
9f545f9520
cpp2ffi: add VARGS0 to definitions
2026-08-03 20:57:30 +02:00
sonoro1234
d658cc8699
cpp2ffi: ConvertTo and From take field size
2026-08-03 20:08:01 +02:00
sonoro1234
af684b6cb1
cpp2ffi: manuals not in module go to definitions
2026-08-03 19:29:35 +02:00
sonoro1234
bf9b984ef7
pull imgui 1.92.9bdock
2026-08-01 11:17:00 +02:00
sonoro1234
944385687d
add STB_TexteditState
2026-07-30 10:46:20 +02:00
sonoro1234
b705b2465a
cpp2ffi: modify argsT skips _c, added size
2026-07-29 10:46:06 +02:00
sonoro1234
1531eea44a
AddnonUDT: modify definitions argsT
2026-07-29 10:33:17 +02:00
sonoro1234
cd61f1ae57
pull imgui docking 1.92.9 and generate
2026-07-28 10:31:23 +02:00
sonoro1234
053280dfff
cpp2ffi: std:string return with static and assign
2026-06-16 20:01:06 +02:00
sonoro1234
8aaa4b624e
cpp2ffi: test header if gcc, changes for opaque_structs, std:function with &
2026-06-15 11:51:08 +02:00
sonoro1234
9bffa7632f
cpp2ffi: post skipped functions
2026-06-11 12:42:33 +02:00
sonoro1234
e2c1d90128
cpp2ffi: better printing and add const return when :: appears
2026-06-11 12:24:01 +02:00
sonoro1234
64fcbf194b
cpp2ffi: explicit str_subst
2026-06-10 19:21:37 +02:00
sonoro1234
bbddc623b5
cpp2ffi: add prevcomments in functions
2026-05-29 17:20:22 +02:00
sonoro1234
07fde25e7a
cpp2ffi: functions to check int32_t
2026-05-18 16:51:22 +02:00
sonoro1234
1261b23193
generator.lua: impl defines table.do_sorted
2026-05-14 09:20:18 +02:00
sonoro1234
650a427069
pull imgui 1.92.8 docking and generate
2026-05-13 17:18:17 +02:00
sonoro1234
d24c440621
cpp2ffi: add forced_opaque (cimnodes_editor)
2026-05-11 15:01:51 +02:00
sonoro1234
e90e027c82
cpp2ffi: add code for function()=delete, parse_enum_values for (type)number
2026-05-11 13:14:34 +02:00
sonoro1234
1e3cfe7157
cpp2ffi.lua: imgui-node-editor work 2
2026-04-25 15:32:39 +02:00
sonoro1234
0313c558fc
cpp2ffi.lua: imgui-nodes-editor work 1
2026-04-25 08:45:55 +02:00
sonoro1234
ad70f13873
simplify generator.lua for modules
2026-04-20 10:37:57 +02:00
sonoro1234
a444aa6c50
cpp2ffi: class work 3 std::function wrapping
2026-04-17 18:15:27 +02:00
sonoro1234
fab34e3855
cpp2ffi: class work 2
2026-04-15 19:36:15 +02:00
sonoro1234
467262ef29
cpp2ffi: class work 1
2026-04-14 10:44:36 +02:00
sonoro1234
0e533fd0b7
pull 1.92.7 docking and generate
2026-04-06 11:08:00 +02:00
sonoro1234
715802490e
save_output
2026-02-25 12:13:47 +01:00
sonoro1234
8de229087f
constants work 2
2026-02-24 11:03:42 +01:00
sonoro1234
e41d6fb1e8
constants work 1
2026-02-24 10:23:36 +01:00
sonoro1234
1a15dc7bcd
drop extern vardef declaration (implot3d)
2026-02-18 15:18:38 +01:00
sonoro1234
2a8012424d
pull 1.92.6 docking and generate
2026-02-18 11:01:07 +01:00
sonoro1234
99f8065703
avoid static const vardef assign not number (implot)
2026-02-17 11:31:11 +01:00
sonoro1234
b801b08eee
cpp2ffi: add deepcopy
2026-02-17 10:44:49 +01:00
sonoro1234
a890b9f594
avoid vardef = ImVec(...) happens in implot
2026-02-11 17:48:06 +01:00
sonoro1234
9dd992c22b
cpp2ffi: change name_overloadsAlgo to capitalize only first character or type
2026-01-05 13:24:43 +01:00
sonoro1234
d94ad1b162
pull imgui 1.92.5 dock and generate
2025-11-20 18:30:46 +01:00
sonoro1234
c9f0e06eb2
pull imgui 1.92.5wip for issue #9069
2025-11-20 12:09:46 +01:00
sonoro1234
899049782b
nonPOD_used 2
2025-11-19 10:28:26 +01:00
sonoro1234
305d1040fb
add nonPOD_used to structs_and_enums.json
2025-11-18 17:18:01 +01:00
sonoro1234
363fb5869d
cpp2ffi: take care of CIMGUI_VARGS0
2025-11-14 09:42:56 +01:00