luzhixing12345 / syntaxlight

基于 BNF 的语法高亮

Home Page:https://luzhixing12345.github.io/syntaxlight/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[c] macro process for compound_statement

luzhixing12345 opened this issue · comments

void module_call_init(module_init_type type)
{
    ModuleTypeList *l;
    ModuleEntry *e;

    if (modules_init_done[type]) {
        return;
    }

    l = find_type(type);

    QTAILQ_FOREACH(e, l, node) {
        e->init();
    }

    modules_init_done[type] = true;
}