diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2011-02-17 07:52:53 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2011-02-17 07:52:53 +0100 |
commit | 3f71574510f7a302cdf6f5eb9af06f012efd3fbc (patch) | |
tree | 6c36b12d9251c8259b9315ad0a46db1fdcf51ced /multi.png | |
parent | 09aa41a8625d0181993adaf6d993dcb576faa1a3 (diff) | |
download | lanes-3f71574510f7a302cdf6f5eb9af06f012efd3fbc.tar.gz lanes-3f71574510f7a302cdf6f5eb9af06f012efd3fbc.tar.bz2 lanes-3f71574510f7a302cdf6f5eb9af06f012efd3fbc.zip |
Lane userdata implementation refactoring:
- Refactor lane proxy implementation: it is now a full userdata instead
of a table, and its methods are implemented in C instead of Lua.
* its metatable is no longer accessible.
* writing to the proxy raises an error.
* it is no longer possible to overwrite its join() and cancel() methods
- when a deep userdata idfunc requests a module to be required, manually
check that it is not loaded before requiring it instead of relying on
the require function's loop detection feature.
- when a module must be required, raise an error if the 'require' function
is not found in the target state.
- we know Lanes is loaded in the master state, so we don't force it
to be required in every lane too when a linda deep userdata is copied.
Diffstat (limited to 'multi.png')
0 files changed, 0 insertions, 0 deletions