LÖVE backend + build target (compat/luajit.lua shims, Roblox build unchanged), examples/example_love, examples/example_shared (same app on Roblox and LÖVE), LuaJIT checksum tests

This commit is contained in:
4DBug
2026-10-08 19:31:22 -05:00
parent 81c5ad9e43
commit 66fa061089
23 changed files with 56780 additions and 17 deletions
+2 -2
View File
@@ -3069,7 +3069,7 @@ function FormatCached(format, v)
local r = m[v]
if r == nil then
if fmt_memo_n >= 4096 then table.clear(fmt_memo); m = {}; fmt_memo[format] = m; fmt_memo_n = 0 end
r = ImFormatString(format, v); m[v] = r; fmt_memo_n += 1
r = ImFormatString(format, v); m[v] = r; fmt_memo_n = fmt_memo_n + 1
end
return r
end
@@ -4064,7 +4064,7 @@ function ImGui.NewTextBuffer(str, size)
end
function ImGui.TextBufferToString(buf)
local n = 0
while buf[n + 1] ~= nil and buf[n + 1] ~= 0 do n += 1 end
while buf[n + 1] ~= nil and buf[n + 1] ~= 0 do n = n + 1 end
return n == 0 and "" or ImGui._ByteArrayToString(buf, 1, n + 1)
end