gwenhywfar 5.14.1
tm2c_constructor.c File Reference
#include "tm2c_constructor.h"
#include <gwenhywfar/debug.h>
#include <ctype.h>
Include dependency graph for tm2c_constructor.c:

Go to the source code of this file.

Functions

static int _addMemberInits (TYPEMAKER2_BUILDER *tb, TYPEMAKER2_TYPE *ty, GWEN_BUFFER *tbuf)
static void _addSignalInits (TYPEMAKER2_TYPE *ty, uint32_t flags, GWEN_BUFFER *tbuf)
static void _addSlotInits (TYPEMAKER2_TYPE *ty, uint32_t flags, GWEN_BUFFER *tbuf)
static void _addTypeInits (TYPEMAKER2_TYPE *ty, uint32_t flags, GWEN_BUFFER *tbuf)
static void _addVirtualFns (TYPEMAKER2_TYPE *ty, GWEN_BUFFER *tbuf)
static int _buildImplementation (TYPEMAKER2_BUILDER *tb, TYPEMAKER2_TYPE *ty)
static void _buildPrototypes (TYPEMAKER2_BUILDER *tb, TYPEMAKER2_TYPE *ty)
int TM2C_BuildConstructor (TYPEMAKER2_BUILDER *tb, TYPEMAKER2_TYPE *ty)

Function Documentation

◆ _addMemberInits()

int _addMemberInits ( TYPEMAKER2_BUILDER * tb,
TYPEMAKER2_TYPE * ty,
GWEN_BUFFER * tbuf )
static

◆ _addSignalInits()

void _addSignalInits ( TYPEMAKER2_TYPE * ty,
uint32_t flags,
GWEN_BUFFER * tbuf )
static

◆ _addSlotInits()

void _addSlotInits ( TYPEMAKER2_TYPE * ty,
uint32_t flags,
GWEN_BUFFER * tbuf )
static

◆ _addTypeInits()

void _addTypeInits ( TYPEMAKER2_TYPE * ty,
uint32_t flags,
GWEN_BUFFER * tbuf )
static

◆ _addVirtualFns()

void _addVirtualFns ( TYPEMAKER2_TYPE * ty,
GWEN_BUFFER * tbuf )
static

Definition at line 294 of file tm2c_constructor.c.

References GWEN_Buffer_AppendArgs(), GWEN_Buffer_AppendString(), Typemaker2_Type_GetVirtualFns(), Typemaker2_VirtualFn_GetName(), and Typemaker2_VirtualFn_GetPreset().

Referenced by _buildImplementation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _buildImplementation()

◆ _buildPrototypes()

◆ TM2C_BuildConstructor()

int TM2C_BuildConstructor ( TYPEMAKER2_BUILDER * tb,
TYPEMAKER2_TYPE * ty )

Definition at line 34 of file tm2c_constructor.c.

References _buildImplementation(), _buildPrototypes(), DBG_INFO, and NULL.

Referenced by Typemaker2_Builder_C_Build().

Here is the call graph for this function:
Here is the caller graph for this function: