lib: Add MODULE_CONTEXT_REQUIRE This will panic instead of return NULL. Should satisfy static analyzers when used.
global: Change calls to array_idx_modifiable to array_idx_get_space. Only calls that require space allocation are to be changed.
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name Easy way to update your existing code: perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch]
MODULE_CONTEXT() now avoids directly returning NULL to make static analyzer happier. --HG-- branch : HEAD
MODULE_CONTEXT() now returns NULL if the whole module hasn't been registered yet. This fixes a crash with thread handling. --HG-- branch : HEAD
module-context.h: Include required array.h internally. --HG-- branch : HEAD
Renamed _array_*() to array_*_i() --HG-- branch : HEAD
Changed .h ifdef/defines to use <NAME>_H format. --HG-- branch : HEAD
Compile fix --HG-- branch : HEAD
Better type safety to module_contexts arrays. Already fixed some bugs. --HG-- branch : HEAD