Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 101 of file slang_compile_struct.c.
Referenced by _slang_typeof_operation(), parse_struct(), parse_type_specifier(), slang_struct_copy(), slang_struct_scope_copy(), and slang_type_specifier_copy().
{ stru->a_name = SLANG_ATOM_NULL; stru->fields = (slang_variable_scope *) _slang_alloc(sizeof(slang_variable_scope)); if (stru->fields == NULL) return 0; _slang_variable_scope_ctr(stru->fields); stru->structs = (slang_struct_scope *) _slang_alloc(sizeof(slang_struct_scope)); if (stru->structs == NULL) { slang_variable_scope_destruct(stru->fields); _slang_free(stru->fields); return 0; } _slang_struct_scope_ctr(stru->structs); stru->constructor = NULL; return 1; }