Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

package.searchpath

Philipp Janda edited this page Mar 11, 2015 · 2 revisions

package.searchpath

The native implementation of package.searchpath in Lua 5.2 uses various preprocessor macros to configure the specific symbols used for the path templates in package.path/package.cpath. The compatibility implementation is written in pure Lua and has no access to the preprocessor macros, so it uses the default values (; as the path separator, ? as place holder for the module name).

Clone this wiki locally