[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: in 5.1, find pathname for required module?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 10 Nov 2018 16:20:13 -0200
> I see that in Lua 5.3, there are facilities
> like `package.searchpath` and an extension to `require` (relative to 5.1)
> that can pass an extra parameter. Can anyone suggest a way to
> replicate this functionality in 5.1?
I haven't tried it, but from a quick look at the 5.1 loadlib.c, it
seems that it's just a matter of backporting the 5.3 functionality to