Using new module scheme. Still needs fine tuning.

This commit is contained in:
Diego Nehab
2004-09-27 04:01:18 +00:00
parent e1d318f26c
commit a04f15d1ca
14 changed files with 52 additions and 32 deletions

View File

@ -6,9 +6,10 @@
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Load other required modules
-- Declare module and import dependencies
-----------------------------------------------------------------------------
local mime = requirelib("mime", "luaopen_mime", getfenv(1))
module("mime")
local mime = require("lmime")
local ltn12 = require("ltn12")
-- encode, decode and wrap algorithm tables