|
gwenhywfar
5.10.1
|

Go to the source code of this file.
Functions | |
| static void | _addFlagspecificElements (TYPEMAKER2_TYPE *ty, uint32_t flags, GWEN_BUFFER *tbuf) |
| static int | _addMember (TYPEMAKER2_MEMBER *tm, GWEN_BUFFER *tbuf) |
| static int | _addMembers (TYPEMAKER2_TYPE *ty, GWEN_BUFFER *tbuf) |
| static int | _addVirtualFunctions (TYPEMAKER2_TYPE *ty, GWEN_BUFFER *tbuf) |
| int | TM2C_BuildStruct (TYPEMAKER2_BUILDER *tb, TYPEMAKER2_TYPE *ty) |
|
static |
Definition at line 78 of file tm2c_struct.c.
References GWEN_Buffer_AppendArgs(), Typemaker2_Type_GetIdentifier(), TYPEMAKER2_TYPEFLAGS_WITH_INHERIT, TYPEMAKER2_TYPEFLAGS_WITH_LIST1, TYPEMAKER2_TYPEFLAGS_WITH_TREE, and TYPEMAKER2_TYPEFLAGS_WITH_TREE2.
Referenced by TM2C_BuildStruct().


|
static |
Definition at line 126 of file tm2c_struct.c.
References DBG_ERROR, GWEN_Buffer_AppendArgs(), GWEN_Buffer_AppendString(), GWEN_ERROR_BAD_DATA, NULL, Typemaker2_Enum_GetType(), TYPEMAKER2_FLAGS_CONST, TYPEMAKER2_FLAGS_ENUM, TYPEMAKER2_FLAGS_VOLATILE, Typemaker2_Member_GetEnumPtr(), Typemaker2_Member_GetFlags(), Typemaker2_Member_GetMaxLen(), Typemaker2_Member_GetName(), Typemaker2_Member_GetTypePtr(), TypeMaker2_Type_Array, Typemaker2_Type_GetIdentifier(), Typemaker2_Type_GetType(), and TypeMaker2_Type_Pointer.
Referenced by _addMembers().


|
static |
Definition at line 99 of file tm2c_struct.c.
References _addMember(), DBG_INFO, NULL, and Typemaker2_Type_GetMembers().
Referenced by TM2C_BuildStruct().


|
static |
Definition at line 187 of file tm2c_struct.c.
References DBG_ERROR, GWEN_Buffer_AppendByte(), GWEN_Buffer_AppendString(), GWEN_ERROR_BAD_DATA, Typemaker2_Type_GetIdentifier(), Typemaker2_Type_GetVirtualFns(), and Typemaker2_VirtualFn_GetName().
Referenced by TM2C_BuildStruct().


| int TM2C_BuildStruct | ( | TYPEMAKER2_BUILDER * | tb, |
| TYPEMAKER2_TYPE * | ty | ||
| ) |
Definition at line 30 of file tm2c_struct.c.
References _addFlagspecificElements(), _addMembers(), _addVirtualFunctions(), DBG_INFO, GWEN_Buffer_AppendArgs(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), NULL, Typemaker2_Builder_AddPrivateDeclaration(), Typemaker2_Type_GetFlags(), Typemaker2_Type_GetIdentifier(), TYPEMAKER2_TYPEFLAGS_WITH_REFCOUNT, TYPEMAKER2_TYPEFLAGS_WITH_SIGNALS, and TYPEMAKER2_TYPEFLAGS_WITH_SLOTS.
Referenced by Typemaker2_Builder_C_Build().


1.8.14