aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_tree.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2008-04-25 18:59:20 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2008-04-25 18:59:20 +0000
commita923b5491c90bd15ec4a81d885b3a66e94b3f0c7 (patch)
treedd4ce443080903390045389c1cd5d87f3eb5bc09 /epan/wslua/wslua_tree.c
parent2bce8b248c38b83e0fd711b821efcd90d0147230 (diff)
From: Márton Németh:
The luaL_reg structure consists of two pointers: char* and a pointer to a function. The last entry should also reflect this: it should be { NULL, NULL } instead of { 0, 0 }. svn path=/trunk/; revision=25175
Diffstat (limited to 'epan/wslua/wslua_tree.c')
-rw-r--r--epan/wslua/wslua_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_tree.c b/epan/wslua/wslua_tree.c
index 10686006b4..cc0a166011 100644
--- a/epan/wslua/wslua_tree.c
+++ b/epan/wslua/wslua_tree.c
@@ -297,10 +297,10 @@ static const luaL_reg TreeItem_methods[] = {
{"add_expert_info", TreeItem_add_expert_info},
{"set_generated", TreeItem_set_generated},
{"set_hidden", TreeItem_set_hidden},
- {0, 0}
+ { NULL, NULL }
};
static const luaL_reg TreeItem_meta[] = {
- {0, 0}
+ { NULL, NULL }
};