aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-03-11 17:06:10 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-03-11 17:06:10 +0100
commit3ce42e54e5d093c3fd6136f6a9bfc9398f328bce (patch)
treec9bed33585ece45118b2f6d851c5787d76406097 /tests
parent9ba9cd6185a00bd0623f3cbc96a20ce34dafbbc5 (diff)
downloadlanes-3ce42e54e5d093c3fd6136f6a9bfc9398f328bce.tar.gz
lanes-3ce42e54e5d093c3fd6136f6a9bfc9398f328bce.tar.bz2
lanes-3ce42e54e5d093c3fd6136f6a9bfc9398f328bce.zip
Add a VisualStudio solution to build and debug Lanes
* configured to build Lanes, the example module deep_userdata_example, and the unit tests * relies on Lua 5.1 → 5.4, LuaJIT and MoonJIT to be built and located in a fixed directory * manual_register legacy test now uses deep_userdata_example module instead of lfs
Diffstat (limited to 'tests')
-rw-r--r--tests/manual_register.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual_register.lua b/tests/manual_register.lua
index 5220cf8..52cc4ed 100644
--- a/tests/manual_register.lua
+++ b/tests/manual_register.lua
@@ -1,8 +1,8 @@
1local RequireAModuleThatExportsGlobalFunctions = function(type_) 1local RequireAModuleThatExportsGlobalFunctions = function(type_)
2 -- grab some module that exports C functions, this is good enough for our purpose 2 -- grab some module that exports C functions, this is good enough for our purpose
3 local lfs = require "lfs" 3 local due = require "deep_userdata_example"
4 -- make one of these a global 4 -- make one of these a global
5 GlobalFunc = lfs.attributes 5 GlobalFunc = due.get_deep_count
6 -- we need to register it so that it is transferable 6 -- we need to register it so that it is transferable
7 local lanes = require "lanes" 7 local lanes = require "lanes"
8 lanes.register( "GlobalFunc", GlobalFunc) 8 lanes.register( "GlobalFunc", GlobalFunc)