diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-04 15:44:47 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-05 19:47:54 +0100 |
commit | 9f67ba0e68d0a85944268c55045c28d6d12983b5 (patch) | |
tree | b3c9be621f83829acabd766a67862d861e53218d /scripts/lua/libmana-constants.lua | |
parent | aed3f8be2d96dce957de6884944ea666aadc5bd2 (diff) | |
download | manaserv-9f67ba0e68d0a85944268c55045c28d6d12983b5.tar.gz manaserv-9f67ba0e68d0a85944268c55045c28d6d12983b5.tar.bz2 manaserv-9f67ba0e68d0a85944268c55045c28d6d12983b5.tar.xz manaserv-9f67ba0e68d0a85944268c55045c28d6d12983b5.zip |
Improved Lua API argument checking
It's a bit embarrassing the way this has gotten out of hand. The error
checking was inconsistent, and in some cases wrong.
A host of new helper functions, starting with 'check' rather than 'get',
perform error handling on function arguments (they will not return when
encountering an error).
Reviewed-by: Erik Schilling
Diffstat (limited to 'scripts/lua/libmana-constants.lua')
0 files changed, 0 insertions, 0 deletions