From 3ce42e54e5d093c3fd6136f6a9bfc9398f328bce Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 11 Mar 2025 17:06:10 +0100 Subject: Add a VisualStudio solution to build and debug Lanes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- tests/manual_register.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 @@ local RequireAModuleThatExportsGlobalFunctions = function(type_) -- grab some module that exports C functions, this is good enough for our purpose - local lfs = require "lfs" + local due = require "deep_userdata_example" -- make one of these a global - GlobalFunc = lfs.attributes + GlobalFunc = due.get_deep_count -- we need to register it so that it is transferable local lanes = require "lanes" lanes.register( "GlobalFunc", GlobalFunc) -- cgit v1.2.3-55-g6feb