diff options
author | benoit-germain <bnt.germain@gmail.com> | 2011-11-07 10:06:25 +0100 |
---|---|---|
committer | benoit-germain <bnt.germain@gmail.com> | 2011-11-07 10:06:25 +0100 |
commit | 0e9d9c3c0e61b2af5ba33893c94ee02a447d2ac7 (patch) | |
tree | f0682ea853da2e909fa7e38fa3d6019b82b6fe00 /src | |
parent | 053f7cff3c95acb915e6babfd306971f11bb7986 (diff) | |
download | lanes-0e9d9c3c0e61b2af5ba33893c94ee02a447d2ac7.tar.gz lanes-0e9d9c3c0e61b2af5ba33893c94ee02a447d2ac7.tar.bz2 lanes-0e9d9c3c0e61b2af5ba33893c94ee02a447d2ac7.zip |
Cause `lanes.configure()` to return the module table to enable the `require "lanes".configure()` idiom.
Diffstat (limited to 'src')
-rw-r--r-- | src/lanes.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lanes.lua b/src/lanes.lua index 8837e4b..005ce28 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -562,7 +562,9 @@ end | |||
562 | if _t ~= _timers then | 562 | if _t ~= _timers then |
563 | error( "mismatched configuration: " .. tostring( _t) .. " timer activity instead of " .. tostring( _timers)) | 563 | error( "mismatched configuration: " .. tostring( _t) .. " timer activity instead of " .. tostring( _timers)) |
564 | end | 564 | end |
565 | return lanes | ||
565 | end | 566 | end |
567 | return lanes | ||
566 | end -- lanes.configure | 568 | end -- lanes.configure |
567 | 569 | ||
568 | --the end | 570 | --the end |