lua-users home
lua-l archive

Re: Working with Lua 5.1 'require' for fake/virtual/non-standard files

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


You will need to get to know loadlib.c, and as it stands
probably modify it.
Some of the loadlib.c issues are:
1) It has function named readable() which tests for existence
this uses fopen()/fclose()
2) loadlib has a C loader and a Lua loader ..., you would
need to add a Lua ZIP loader.
DB

AltStyle によって変換されたページ (->オリジナル) /