diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2011-03-29 15:24:21 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2011-03-29 15:24:21 -0700 |
commit | c5158ac3433fcbb9f6aed2c9f4f7e79a3306d27c (patch) | |
tree | 2475c4eb75d1d6db113a84cab7b23fc7bbd7e9fb /lua | |
parent | c8de01595f1174ee9adcfaba5403e79e965614c5 (diff) | |
download | libnet-c5158ac3433fcbb9f6aed2c9f4f7e79a3306d27c.tar.gz |
API todo, maybe set with nil can clear an attr.
Diffstat (limited to 'lua')
-rw-r--r-- | lua/nfct.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -939,7 +939,8 @@ static int get_attr_u8(lua_State* L) * performance is an issue, so why not return nil and emsg when attr isn't * present. */ -/* TODO set: can I use lua 'true' to mean full-width? Useful for masks. */ +/* TODO set: can I use true to mean full-width? Useful for masks. */ +/* TODO set: can I use nil to mean nfct_attr_unset()? */ #define ATTR_UX(ux) \ static int get_attr_##ux(lua_State* L) \ { lua_pushinteger(L, nfct_get_attr_##ux(check_ct(L), check_attr(L))); return 1; } \ |