Modules
Comparer les modifications
Fichiers
4+ 1
− 1
Define properly modules.
Modules should only use the queue to communicate information to the lkt_state
.
The lkt_state
should use the reg
to get function pointers and other properties from the modules.
This reg will include macros to get function pointers and call the function with the given arguments.
The reg will notify when a function is not available, and won't segfault. By doing so:
lektor.ini
file.lkt_state
queue can be differed to when the module is loaded.