aboutsummaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udp.c b/src/udp.c
index a0fdcc0..a2dff34 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -15,6 +15,7 @@
15#include "socket.h" 15#include "socket.h"
16#include "inet.h" 16#include "inet.h"
17#include "options.h" 17#include "options.h"
18#include "base.h"
18#include "udp.h" 19#include "udp.h"
19 20
20/*=========================================================================*\ 21/*=========================================================================*\
@@ -50,6 +51,7 @@ static luaL_reg udp[] = {
50 {"close", meth_close}, 51 {"close", meth_close},
51 {"setoption", meth_setoption}, 52 {"setoption", meth_setoption},
52 {"__gc", meth_close}, 53 {"__gc", meth_close},
54 {"__tostring", base_meth_tostring},
53 {"getfd", meth_getfd}, 55 {"getfd", meth_getfd},
54 {"setfd", meth_setfd}, 56 {"setfd", meth_setfd},
55 {"dirty", meth_dirty}, 57 {"dirty", meth_dirty},