Skip to content

Commit 8441390

Browse files
committed
Update def file callback variable
1 parent ab8d7ad commit 8441390

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/_SimpleGraphic.def.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
---@param func? fun()
1111
function SetCallback(name, func)
1212
---@diagnostic disable-next-line: undefined-global headless wrapper
13-
callbackTable[name] = func
13+
__callbackTable__[name] = func
1414
end
1515

1616
---@param name string
1717
---@return table
1818
function GetCallback(name)
1919
---@diagnostic disable-next-line: undefined-global headless wrapper
20-
return callbackTable[name]
20+
return __callbackTable__[name]
2121
end
2222

2323
---@param object? table

0 commit comments

Comments
 (0)