diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2012-02-18 14:08:52 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2012-02-18 14:08:52 +0100 |
commit | 076344633e7b2525cf48005f84f3935f324b60bf (patch) | |
tree | 2a013da0ba2cd4a9f7eaf073a5ba128723f13154 /tests/recursive.lua | |
parent | b4582dd0bb65a916de7fa9612880b75a17c7ae7f (diff) | |
download | lanes-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/recursive.lua')
-rw-r--r-- | tests/recursive.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/recursive.lua b/tests/recursive.lua index ad32df8..571fc1e 100644 --- a/tests/recursive.lua +++ b/tests/recursive.lua | |||
@@ -13,7 +13,7 @@ local function func( depth ) | |||
13 | 13 | ||
14 | local lanes = require "lanes" | 14 | local lanes = require "lanes" |
15 | -- lanes.configure() is gone after we call it... | 15 | -- lanes.configure() is gone after we call it... |
16 | lanes.configure( 1) | 16 | lanes.configure() |
17 | local lane= lanes.gen("*", func)( depth+1 ) | 17 | local lane= lanes.gen("*", func)( depth+1 ) |
18 | return lane[1] | 18 | return lane[1] |
19 | end | 19 | end |