Mercurial Hosting > luan
comparison core/src/luan/modules/Io.luan @ 701:d0280c7fdc3a
add Io.ip()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 04 May 2016 17:49:41 -0600 |
parents | b620b8e1010f |
children | 30c87c859277 |
comparison
equal
deleted
inserted
replaced
700:61b36d5895df | 701:d0280c7fdc3a |
---|---|
2 local IoLuan = require "java:luan.modules.IoLuan" | 2 local IoLuan = require "java:luan.modules.IoLuan" |
3 local System = require "java:java.lang.System" | 3 local System = require "java:java.lang.System" |
4 | 4 |
5 local M = {} | 5 local M = {} |
6 | 6 |
7 M.ip = IoLuan.ip | |
7 M.read_console_line = IoLuan.read_console_line | 8 M.read_console_line = IoLuan.read_console_line |
8 M.schemes = IoLuan.newSchemes() | 9 M.schemes = IoLuan.newSchemes() |
9 M.uri = IoLuan.uri | 10 M.uri = IoLuan.uri |
10 M.stdin = IoLuan.defaultStdin.table() | 11 M.stdin = IoLuan.defaultStdin.table() |
11 M.socket_server = IoLuan.socket_server | 12 M.socket_server = IoLuan.socket_server |