feature request #169: allowing to set IMGUI_PATH as an environment variable (defaults to ../imgui)

This commit is contained in:
Victor Bombi
2021-03-21 09:47:15 +01:00
parent ccdae842e4
commit ab7578ed1f
2 changed files with 13 additions and 12 deletions

View File

@@ -648,7 +648,7 @@ local function parseFunction(self,stname,itt,namespace,locat)
typ,name = ar1:match("(.+)%s([^%s]+)")
end
if not typ or not name or name:match"%*" or M.c_types[name] or self.typedefs_dict[name] then
print("bad argument name",funcname,typ,name,ar)
print("argument without name",funcname,typ,name,ar)
ar1,defa = ar:match"([^=]+)=([^=]+)"
ar1 = ar1 or ar
typ = ar1