Skip to content

__autoload__

builtin · libnexusinterp/corefcn/eval-proprietary.cc

: __autoload__ (function, file)
: __autoload__ (function, file, "remove")
: files = __autoload__ ()

Arrange for function to be loaded automatically from file the first time it is referenced.

A third argument of "remove" cancels such a registration instead. Called with no arguments, autoload reports all registrations currently in force as a structure that maps function names to files.