Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 37 of file slang_compile_function.c.
Referenced by parse_function(), and slang_function_new().
{ func->kind = SLANG_FUNC_ORDINARY; if (!slang_variable_construct(&func->header)) return 0; func->parameters = (slang_variable_scope *) _slang_alloc(sizeof(slang_variable_scope)); if (func->parameters == NULL) { slang_variable_destruct(&func->header); return 0; } _slang_variable_scope_ctr(func->parameters); func->param_count = 0; func->body = NULL; return 1; }