[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: module with c api
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: Thu, 22 Aug 2013 18:33:52 +0200
On 22/08/2013 14.59, Thijs Schreijer wrote:
[...]
>
> Try loaders, see [1]. Create a loader that checks your database for the requested module and fetches it.
>
> Thijs
>
> [1] http://www.lua.org/manual/5.1/manual.html#pdf-package.loaders
>
>
>
[For the OP, in case he uses Lua 5.2]
Keep in mind that what in 5.1 were called "loaders" are called
"searchers" in Lua 5.2. See:
[1] http://www.lua.org/manual/5.2/manual.html#pdf-require
[2] http://www.lua.org/manual/5.2/manual.html#pdf-package.searchers
[3] http://www.lua.org/manual/5.2/manual.html#8.2
-- Lorenzo
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments