Software /
code /
verse
Comparison
init.lua @ 205:cbcd45be11a8
verse: Expose net.server as verse.server
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 18 Mar 2011 21:50:06 +0000 |
parent | 173:3112a9e450ac |
child | 234:a597da99810c |
comparison
equal
deleted
inserted
replaced
204:99299952be6a | 205:cbcd45be11a8 |
---|---|
8 local server = require "net.server"; | 8 local server = require "net.server"; |
9 local events = require "util.events"; | 9 local events = require "util.events"; |
10 | 10 |
11 module("verse", package.seeall); | 11 module("verse", package.seeall); |
12 local verse = _M; | 12 local verse = _M; |
13 _M.server = server; | |
13 | 14 |
14 local stream = {}; | 15 local stream = {}; |
15 stream.__index = stream; | 16 stream.__index = stream; |
16 stream_mt = stream; | 17 stream_mt = stream; |
17 | 18 |