cpp2ffi: class work 3 std::function wrapping

This commit is contained in:
sonoro1234
2026-04-17 18:15:27 +02:00
parent fab34e3855
commit a444aa6c50
3 changed files with 115 additions and 5 deletions

View File

@@ -605,6 +605,7 @@
{
"name": "rhs",
"reftoptr": true,
"template_orig": "ImChunkStream<T>& rhs",
"type": "ImChunkStream_T *"
}
],
@@ -4883,6 +4884,7 @@
},
{
"name": "out_ranges",
"template_orig": "ImVector<ImWchar>* out_ranges",
"type": "ImVector_ImWchar*"
}
],
@@ -11271,6 +11273,7 @@
},
{
"name": "out",
"template_orig": "ImVector<ImGuiTextRange>* out",
"type": "ImVector_ImGuiTextRange*"
}
],
@@ -14579,6 +14582,7 @@
"argsT": [
{
"name": "src",
"template_orig": "const ImVector<T>& src",
"type": "const ImVector_T "
}
],
@@ -15572,6 +15576,7 @@
{
"name": "rhs",
"reftoptr": true,
"template_orig": "ImVector<T>& rhs",
"type": "ImVector_T *"
}
],
@@ -15679,6 +15684,7 @@
},
{
"name": "out_list",
"template_orig": "ImVector<ImDrawList*>* out_list",
"type": "ImVector_ImDrawListPtr*"
},
{
@@ -19795,6 +19801,7 @@
"argsT": [
{
"name": "windows",
"template_orig": "ImVector<ImGuiWindow*>* windows",
"type": "ImVector_ImGuiWindowPtr*"
},
{
@@ -20133,6 +20140,7 @@
},
{
"name": "in_window_remap_pairs",
"template_orig": "ImVector<const char*>* in_window_remap_pairs",
"type": "ImVector_const_charPtr*"
}
],
@@ -20164,6 +20172,7 @@
},
{
"name": "out_node_remap_pairs",
"template_orig": "ImVector<ImGuiID>* out_node_remap_pairs",
"type": "ImVector_ImGuiID*"
}
],

View File

@@ -523,6 +523,7 @@ local t={
[2]={
name="rhs",
reftoptr=true,
template_orig="ImChunkStream<T>& rhs",
type="ImChunkStream_T *"}},
argsoriginal="(ImChunkStream<T>& rhs)",
call_args="(*rhs)",
@@ -4103,6 +4104,7 @@ local t={
type="ImFontGlyphRangesBuilder*"},
[2]={
name="out_ranges",
template_orig="ImVector<ImWchar>* out_ranges",
type="ImVector_ImWchar*"}},
argsoriginal="(ImVector<ImWchar>* out_ranges)",
call_args="(out_ranges)",
@@ -9629,6 +9631,7 @@ local t={
type="char"},
[3]={
name="out",
template_orig="ImVector<ImGuiTextRange>* out",
type="ImVector_ImGuiTextRange*"}},
argsoriginal="(char separator,ImVector<ImGuiTextRange>* out)",
call_args="(separator,out)",
@@ -12514,6 +12517,7 @@ local t={
argsT={
[1]={
name="src",
template_orig="const ImVector<T>& src",
type="const ImVector_T "}},
argsoriginal="(const ImVector<T>& src)",
call_args="(src)",
@@ -13378,6 +13382,7 @@ local t={
[2]={
name="rhs",
reftoptr=true,
template_orig="ImVector<T>& rhs",
type="ImVector_T *"}},
argsoriginal="(ImVector<T>& rhs)",
call_args="(*rhs)",
@@ -13469,6 +13474,7 @@ local t={
type="ImDrawData*"},
[2]={
name="out_list",
template_orig="ImVector<ImDrawList*>* out_list",
type="ImVector_ImDrawListPtr*"},
[3]={
name="draw_list",
@@ -16959,6 +16965,7 @@ local t={
argsT={
[1]={
name="windows",
template_orig="ImVector<ImGuiWindow*>* windows",
type="ImVector_ImGuiWindowPtr*"},
[2]={
name="label",
@@ -17249,6 +17256,7 @@ local t={
type="ImGuiID"},
[3]={
name="in_window_remap_pairs",
template_orig="ImVector<const char*>* in_window_remap_pairs",
type="ImVector_const_charPtr*"}},
argsoriginal="(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector<const char*>* in_window_remap_pairs)",
call_args="(src_dockspace_id,dst_dockspace_id,in_window_remap_pairs)",
@@ -17275,6 +17283,7 @@ local t={
type="ImGuiID"},
[3]={
name="out_node_remap_pairs",
template_orig="ImVector<ImGuiID>* out_node_remap_pairs",
type="ImVector_ImGuiID*"}},
argsoriginal="(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector<ImGuiID>* out_node_remap_pairs)",
call_args="(src_node_id,dst_node_id,out_node_remap_pairs)",