aboutsummaryrefslogtreecommitdiff
path: root/src/unix.c
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2017-01-04 18:41:31 -0200
committerGitHub <noreply@github.com>2017-01-04 18:41:31 -0200
commita0baab5f3c041afdb66bbda951a07943b022d4ca (patch)
treee481f825991151cd164435faeb4b5e1b779526ae /src/unix.c
parentac3201d62024b397e8d6e3376822176d681811ec (diff)
parent3a33c37b9ce852d0b3531e82c6ffdb47bb937f0a (diff)
downloadluasocket-a0baab5f3c041afdb66bbda951a07943b022d4ca.tar.gz
luasocket-a0baab5f3c041afdb66bbda951a07943b022d4ca.tar.bz2
luasocket-a0baab5f3c041afdb66bbda951a07943b022d4ca.zip
Merge pull request #199 from enginix/master
Rename unix.tcp to unix.stream, unix.udp to unix.dgram
Diffstat (limited to 'src/unix.c')
-rw-r--r--src/unix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unix.c b/src/unix.c
index 2009c19..e604733 100644
--- a/src/unix.c
+++ b/src/unix.c
@@ -5,15 +5,15 @@
5#include "lua.h" 5#include "lua.h"
6#include "lauxlib.h" 6#include "lauxlib.h"
7 7
8#include "unixtcp.h" 8#include "unixstream.h"
9#include "unixudp.h" 9#include "unixdgram.h"
10 10
11/*-------------------------------------------------------------------------*\ 11/*-------------------------------------------------------------------------*\
12* Modules and functions 12* Modules and functions
13\*-------------------------------------------------------------------------*/ 13\*-------------------------------------------------------------------------*/
14static const luaL_Reg mod[] = { 14static const luaL_Reg mod[] = {
15 {"tcp", unixtcp_open}, 15 {"stream", unixstream_open},
16 {"udp", unixudp_open}, 16 {"dgram", unixdgram_open},
17 {NULL, NULL} 17 {NULL, NULL}
18}; 18};
19 19