diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-10-19 17:02:23 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-10-19 17:02:23 +0000 |
commit | 82abc5f08b92e16e140fdda870e65a8aa9567fbc (patch) | |
tree | b8213f882d592cd438c3e278b27a3455ee1a4e2d /epan/wslua/wslua.h | |
parent | 631a4936c582fd8f9123da59d9817b774854c2eb (diff) |
- wslua_gui.c:
- remove data_ref where it is not used anymore (callbacks won't pass userdata as this ius better done using lua's closures)
- have TextWindow:set_editable() using its argument
- add wslua_optbool(L,n,d) to pull an optional boolean from the stack
- several fixes to docbook generation (now it compiles!)
svn path=/trunk/; revision=19608
Diffstat (limited to 'epan/wslua/wslua.h')
-rw-r--r-- | epan/wslua/wslua.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/wslua/wslua.h b/epan/wslua/wslua.h index b33e6a4422..481d87673b 100644 --- a/epan/wslua/wslua.h +++ b/epan/wslua/wslua.h @@ -5,7 +5,7 @@ * * (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com> * - * $Id: wslua.h 18231 2006-05-28 16:32:49Z etxrab $ + * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> @@ -315,6 +315,7 @@ WSLUA_DECLARE_FUNCTIONS() extern lua_State* wslua_state(void); +extern gboolean wslua_optbool(lua_State* L, int n, gboolean def); extern const gchar* lua_shiftstring(lua_State* L,int idx); extern void dissect_lua(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree); |