mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
dont warn not const reference argument if it is manual
This commit is contained in:
@@ -563,7 +563,11 @@ local function func_parser()
|
||||
end
|
||||
table.insert(argsArr,{type=type,name=name,ret=retf,signature=sigf})
|
||||
if arg:match("&") and not arg:match("const") then
|
||||
print("reference to no const arg in",funcname,argscsinpars)
|
||||
--only post error if not manual
|
||||
local cname = getcimguiname(stname,funcname)
|
||||
if not cimgui_manuals[cname] then
|
||||
print("reference to no const arg in",funcname,argscsinpars)
|
||||
end
|
||||
end
|
||||
end
|
||||
argscsinpars = argscsinpars:gsub("&","")
|
||||
|
Reference in New Issue
Block a user