Bundlex v0.1.8 Bundlex.Loader View Source

Module containing functions that can be used to ease loading of Bundlex-based libraries.

Link to this section Summary

Functions

Loads NIF for given app_name and given name. Second argument has to be an atom, the same as name of the NIF in the bundlex project

Link to this section Functions

Link to this macro

defnif(definition) View Source (macro)

Link to this macro

defnifp(definition) View Source (macro)

Link to this macro

load_nif!(app_name \\ nil, nif_name) View Source (macro)
load_nif!(atom(), atom()) :: any()

Loads NIF for given app_name and given name. Second argument has to be an atom, the same as name of the NIF in the bundlex project.