Adaptacao para o novo modelo de pacotes.

A biblioteca passa a depender de Lua 5.1 ou do arquivo de compatibilizacao.
master
Tomas Guisasola 2004-09-27 16:39:37 +00:00
parent c3941b1cb7
commit a81e6d1d27
2 changed files with 4 additions and 11 deletions

View File

@ -4,7 +4,7 @@
-- $Id$
---------------------------------------------------------------------
require"luasocket"
require"socket"
require"xmlrpc"
local post = socket.http.post

View File

@ -5,22 +5,15 @@
---------------------------------------------------------------------
require "lxp"
require "lxp/lom"
require "lxp.lom"
local assert, error, ipairs, pairs, type, tonumber, unpack = assert, error, ipairs, pairs, type, tonumber, unpack
local format, gsub, strfind, strsub = string.format, string.gsub, string.find, string.sub
local concat, getn, tinsert = table.concat, table.getn, table.insert
local ceil = math.ceil
local parse = lom.parse
local parse = lxp.lom.parse
local Public = {}
setmetatable (Public, {__index = function (n)
error ("undeclared variable "..n, 2)
end})
xmlrpc = Public
setfenv (1, Public)
module (arg and arg[1])
---------------------------------------------------------------------
-- XML-RPC Parser