diff options
author | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-02 22:55:14 +0000 |
---|---|---|
committer | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-02 22:55:14 +0000 |
commit | 05913475ccad60a5e9b66f66e5480168565f2828 (patch) | |
tree | 1cb8ee1ac4a94667a056cbaea02b9a62ec26525f /plugins | |
parent | 5d07783e03bafea449910cb7d5da53d360f0e2cf (diff) |
- make them work as the got broken while docommenting them.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17453 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/lua/elua_gui.c | 2 | ||||
-rw-r--r-- | plugins/lua/elua_tap.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/lua/elua_gui.c b/plugins/lua/elua_gui.c index f8d4e8a5fa..a9b10a8b39 100644 --- a/plugins/lua/elua_gui.c +++ b/plugins/lua/elua_gui.c @@ -150,7 +150,7 @@ static void lua_dialog_cb(gchar** user_input, void* data) { ELUA_FUNCTION elua_new_dialog(lua_State* L) { /* Pops up a new dialog */ #define ELUA_ARG_new_dialog_TITLE 1 /* Title of the dialog's window. */ -#define ELUA_ARG_new_dialog_ACTION 1 /* Action to be performed when OKd. */ +#define ELUA_ARG_new_dialog_ACTION 2 /* Action to be performed when OKd. */ /* ELUA_MOREARGS new_dialog A series of strings to be used as labels of the dialog's fields */ const gchar* title; diff --git a/plugins/lua/elua_tap.c b/plugins/lua/elua_tap.c index 707d0875b6..4d5fb0f5e1 100644 --- a/plugins/lua/elua_tap.c +++ b/plugins/lua/elua_tap.c @@ -388,7 +388,7 @@ ELUA_CONSTRUCTOR Tap_new(lua_State* L) { /* Creates a new Tap listener */ #define ELUA_ARG_Tap_new_NAME 1 /* the name of the tap */ #define ELUA_ARG_Tap_new_FILTER 2 /* a filter that when matches the tap.packet function gets called (use nil to be called for every packet) */ -#define ELUA_OPTARG_Tap_new_USERDATA 2 /* a datum that will be passed as last argument to all tap functions when they get called */ +#define ELUA_OPTARG_Tap_new_USERDATA 3 /* a datum that will be passed as last argument to all tap functions when they get called */ const gchar* name = luaL_checkstring(L,ELUA_ARG_Tap_new_NAME); const gchar* filter = luaL_optstring(L,ELUA_ARG_Tap_new_FILTER,NULL); @@ -510,7 +510,7 @@ static const luaL_reg Tap_meta[] = { }; int Tap_register(lua_State* L) { - ELUA_REGISTER_META(Tap); + ELUA_REGISTER_CLASS(Tap); return 1; } |