aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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)