On Tue, 05 Feb 2013 17:47:48 -0500 "Mikhail T." <[email protected]> wrote:
> BTW, is modp->module_index a reliable indication of order in which > modules are processed? In other words, of module1's index is smaller > than that of module2, does that mean, module1's hooks will be invoked > prior to module2's? Or must one process the link-list to establish > order? That tells you what order they were loaded; what order the register_hooks callbacks were processed. As other hooks are registered, you assign them their priority, and I don't know the priority, index sort to be a stable sort, but would not rely on it.
