Registers the given D function into Lua, under a specific name within the global table.
Func can be any normal D function. By default it is wrapped using luaCWrapperSmart
to allow a (mostly) seamless way of interfacing D and Lua together. Please see luaCWrapperSmart's
documentation if you'd like to learn more.
Registers the given D function into Lua, under a specific name within the global table.
Func can be any normal D function. By default it is wrapped using luaCWrapperSmart to allow a (mostly) seamless way of interfacing D and Lua together. Please see luaCWrapperSmart's documentation if you'd like to learn more.