|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Defines a single attribute entry in a Lua class attribute dispatch table, binding a field name to its getter and setter. More...
#include <wslua.h>
Public Attributes | |
| const char * | fieldname |
| lua_CFunction | getfunc |
| lua_CFunction | setfunc |
Defines a single attribute entry in a Lua class attribute dispatch table, binding a field name to its getter and setter.
| const char* _wslua_attribute_table::fieldname |
The name of the attribute as accessed from Lua (e.g. "len", "offset").
| lua_CFunction _wslua_attribute_table::getfunc |
C function invoked when the attribute is read from Lua; NULL if the attribute is write-only.
| lua_CFunction _wslua_attribute_table::setfunc |
C function invoked when the attribute is assigned from Lua; NULL if the attribute is read-only.