Skip to content

Commit 2c20ca5

Browse files
committed
Scripting: Enable SOL_SAFE_FUNCTION_CALLS (checks function parameters)
1 parent 60cb439 commit 2c20ca5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

xmake.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ target("CommonLib", function ()
111111
end)
112112

113113
add_defines("TSOM_COMMONLIB_BUILD")
114+
add_defines("SOL_SAFE_FUNCTION_CALLS", { public = true })
114115
add_defines("SOL_SAFE_USERTYPE", { public = true })
115116
add_options("commonlib_static")
116117
add_options("dev_tools", { public = true })

0 commit comments

Comments
 (0)