aboutsummaryrefslogtreecommitdiff
path: root/tests/irayo_recursive.lua
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2012-02-18 14:08:52 +0100
committerBenoit Germain <bnt.germain@gmail.com>2012-02-18 14:08:52 +0100
commit076344633e7b2525cf48005f84f3935f324b60bf (patch)
tree2a013da0ba2cd4a9f7eaf073a5ba128723f13154 /tests/irayo_recursive.lua
parentb4582dd0bb65a916de7fa9612880b75a17c7ae7f (diff)
downloadlanes-076344633e7b2525cf48005f84f3935f324b60bf.tar.gz
lanes-076344633e7b2525cf48005f84f3935f324b60bf.tar.bz2
lanes-076344633e7b2525cf48005f84f3935f324b60bf.zip
* changed lanes.configure signature to receive a table instead of individual parameters
* added support for an on_state_create callback called to load custom functions in a state in addition to the base libraries
Diffstat (limited to 'tests/irayo_recursive.lua')
-rw-r--r--tests/irayo_recursive.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/irayo_recursive.lua b/tests/irayo_recursive.lua
index 3eb14b8..f6fe87e 100644
--- a/tests/irayo_recursive.lua
+++ b/tests/irayo_recursive.lua
@@ -9,7 +9,7 @@ local function recurse()
9 if i > 10 then return "finished" end 9 if i > 10 then return "finished" end
10 10
11 local lanes = require "lanes" 11 local lanes = require "lanes"
12 lanes.configure( 1, "NO_TIMERS") 12 lanes.configure{ nb_keepers = 1, with_timers = false}
13 13
14 local lane = lanes.gen( "*", { globals = { ["i"]= i + 1 } }, recurse ) () 14 local lane = lanes.gen( "*", { globals = { ["i"]= i + 1 } }, recurse ) ()
15 return lane[1] 15 return lane[1]