cpp2ffi: const char* versions of ImStr take now a postfix _Strv

This commit is contained in:
Victor Bombi
2021-02-04 17:05:55 +01:00
parent bc708a092d
commit 6aa3f1decd

View File

@@ -829,7 +829,7 @@ local function ADDIMSTR_S(FP)
defT2.call_args = caar --:gsub("ImStr%(([^%(%)]+)%)","%1") --unwrap
------------------
defT2.signature = defT.signature:gsub("ImStr","const char*") --.."_S"
defT2.ov_cimguiname = "S"..defT2.ov_cimguiname
defT2.ov_cimguiname = defT2.ov_cimguiname .. "_Strv"
defT2.isIMSTR_S = 1
-- check there is not an equal version in imgui_stname
local doadd = true