E3-1066: Refactor require.c
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
3+ 362
− 477
Files with large changes are collapsed by default.
General refactoring of the code in require.c. Includes:
versionstr
(which we have never used)ifexists
: there was an option to do require asyn,ifexists
, which we have never supportedforeachLoadedLib
- allows one to run a function for each library, but never usedfirstTime
checks by running code in better placesrequire_priv
. This is the main one that really needs review. @lucasmagalhaes , in particular, I would appreciate your thoughts here.For a faster browsing experience, some files are collapsed by default.
Files with large changes are collapsed by default.