mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
cpp2ffi: ADDIMSTR_S is called before name_overloadsAlgo
This commit is contained in:
@@ -835,7 +835,8 @@ local function ADDIMSTR_S(FP)
|
||||
defT2.call_args = caar
|
||||
------------------
|
||||
defT2.signature = defT.signature:gsub("ImStrv","const char*") --.."_S"
|
||||
defT2.ov_cimguiname = defT2.ov_cimguiname .. "_Strv"
|
||||
--defT2.ov_cimguiname = defT2.ov_cimguiname --.. "_Strv"
|
||||
--defT.ov_cimguiname = defT.ov_cimguiname .. "_Strv"
|
||||
defT2.isIMSTR_S = 1
|
||||
-- check there is not an equal version in imgui_stname
|
||||
local doadd = true
|
||||
@@ -1589,7 +1590,7 @@ function M.Parser()
|
||||
for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end
|
||||
end
|
||||
function par:compute_overloads()
|
||||
--ADDIMSTR_S(self)
|
||||
ADDIMSTR_S(self)
|
||||
local strt = {}
|
||||
local numoverloaded = 0
|
||||
self.alltypes = {}
|
||||
@@ -1631,7 +1632,7 @@ function M.Parser()
|
||||
end)
|
||||
--print(numoverloaded, "overloaded")
|
||||
table.insert(strt,string.format("%d overloaded",numoverloaded))
|
||||
ADDIMSTR_S(self)
|
||||
--ADDIMSTR_S(self)
|
||||
AdjustArguments(self)
|
||||
ADDnonUDT(self)
|
||||
|
||||
|
Reference in New Issue
Block a user