mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
generator.lua: add function to repair default values
This commit is contained in:
@@ -113,6 +113,7 @@ local function strsplit(str, pat)
|
||||
end
|
||||
return t,t2
|
||||
end
|
||||
M.strsplit = strsplit
|
||||
local function split_comment(line)
|
||||
local comment = line:match("(%s*//.*)") --or ""
|
||||
line = line:gsub("%s*//.*","")
|
||||
|
Reference in New Issue
Block a user