gwenhywfar 5.10.1
Functions
tm_virtualfn.c File Reference
#include "tm_virtualfn_p.h"
#include "tm_util.h"
#include "tm_type.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/misc.h>
#include <assert.h>
Include dependency graph for tm_virtualfn.c:

Go to the source code of this file.

Functions

 GWEN_LIST_FUNCTIONS (TYPEMAKER2_VIRTUALFN, Typemaker2_VirtualFn)
 
 GWEN_LIST_FUNCTIONS (TYPEMAKER2_VIRTUALFN_PARAM, Typemaker2_VirtualFn_Param)
 
void Typemaker2_VirtualFn_AddFlags (TYPEMAKER2_VIRTUALFN *vf, uint32_t fl)
 
void Typemaker2_VirtualFn_Attach (TYPEMAKER2_VIRTUALFN *vf)
 
void Typemaker2_VirtualFn_free (TYPEMAKER2_VIRTUALFN *vf)
 
int Typemaker2_VirtualFn_GetAccess (const TYPEMAKER2_VIRTUALFN *vf)
 
const char * Typemaker2_VirtualFn_GetDefaultReturnValue (const TYPEMAKER2_VIRTUALFN *vf)
 
const char * Typemaker2_VirtualFn_GetDescr (const TYPEMAKER2_VIRTUALFN *vf)
 
uint32_t Typemaker2_VirtualFn_GetFlags (const TYPEMAKER2_VIRTUALFN *vf)
 
const char * Typemaker2_VirtualFn_GetLocation (const TYPEMAKER2_VIRTUALFN *vf)
 
const char * Typemaker2_VirtualFn_GetName (const TYPEMAKER2_VIRTUALFN *vf)
 
TYPEMAKER2_VIRTUALFN_PARAM_LIST * Typemaker2_VirtualFn_GetParamTypeList (const TYPEMAKER2_VIRTUALFN *vf)
 
const char * Typemaker2_VirtualFn_GetPreset (const TYPEMAKER2_VIRTUALFN *vf)
 
const char * Typemaker2_VirtualFn_GetReturnType (const TYPEMAKER2_VIRTUALFN *vf)
 
const char * Typemaker2_VirtualFn_GetReturnTypeDescr (const TYPEMAKER2_VIRTUALFN *vf)
 
TYPEMAKER2_VIRTUALFNTypemaker2_VirtualFn_new ()
 
void Typemaker2_VirtualFn_Param_free (TYPEMAKER2_VIRTUALFN_PARAM *prm)
 
const char * Typemaker2_VirtualFn_Param_GetDescr (const TYPEMAKER2_VIRTUALFN_PARAM *prm)
 
const char * Typemaker2_VirtualFn_Param_GetName (const TYPEMAKER2_VIRTUALFN_PARAM *prm)
 
const char * Typemaker2_VirtualFn_Param_GetType (const TYPEMAKER2_VIRTUALFN_PARAM *prm)
 
TYPEMAKER2_VIRTUALFN_PARAMTypemaker2_VirtualFn_Param_new ()
 
void Typemaker2_VirtualFn_Param_SetDescr (TYPEMAKER2_VIRTUALFN_PARAM *prm, const char *s)
 
void Typemaker2_VirtualFn_Param_SetName (TYPEMAKER2_VIRTUALFN_PARAM *prm, const char *s)
 
void Typemaker2_VirtualFn_Param_SetType (TYPEMAKER2_VIRTUALFN_PARAM *prm, const char *s)
 
int Typemaker2_VirtualFn_readXml (TYPEMAKER2_VIRTUALFN *vf, GWEN_XMLNODE *node)
 
void Typemaker2_VirtualFn_SetAccess (TYPEMAKER2_VIRTUALFN *vf, int i)
 
void Typemaker2_VirtualFn_SetDefaultReturnValue (TYPEMAKER2_VIRTUALFN *vf, const char *s)
 
void Typemaker2_VirtualFn_SetDescr (TYPEMAKER2_VIRTUALFN *vf, const char *s)
 
void Typemaker2_VirtualFn_SetFlags (TYPEMAKER2_VIRTUALFN *vf, uint32_t fl)
 
void Typemaker2_VirtualFn_SetLocation (TYPEMAKER2_VIRTUALFN *vf, const char *s)
 
void Typemaker2_VirtualFn_SetName (TYPEMAKER2_VIRTUALFN *vf, const char *s)
 
void Typemaker2_VirtualFn_SetPreset (TYPEMAKER2_VIRTUALFN *vf, const char *s)
 
void Typemaker2_VirtualFn_SetReturnType (TYPEMAKER2_VIRTUALFN *vf, const char *s)
 
void Typemaker2_VirtualFn_SetReturnTypeDescr (TYPEMAKER2_VIRTUALFN *vf, const char *s)
 
void Typemaker2_VirtualFn_SubFlags (TYPEMAKER2_VIRTUALFN *vf, uint32_t fl)
 

Function Documentation

◆ GWEN_LIST_FUNCTIONS() [1/2]

GWEN_LIST_FUNCTIONS ( TYPEMAKER2_VIRTUALFN  ,
Typemaker2_VirtualFn   
)

◆ GWEN_LIST_FUNCTIONS() [2/2]

GWEN_LIST_FUNCTIONS ( TYPEMAKER2_VIRTUALFN_PARAM  ,
Typemaker2_VirtualFn_Param   
)

◆ Typemaker2_VirtualFn_AddFlags()

void Typemaker2_VirtualFn_AddFlags ( TYPEMAKER2_VIRTUALFN vf,
uint32_t  fl 
)

Definition at line 262 of file tm_virtualfn.c.

Referenced by TM2C_AddVirtualFnsFromSlots().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Attach()

void Typemaker2_VirtualFn_Attach ( TYPEMAKER2_VIRTUALFN vf)

Definition at line 67 of file tm_virtualfn.c.

◆ Typemaker2_VirtualFn_free()

void Typemaker2_VirtualFn_free ( TYPEMAKER2_VIRTUALFN vf)

Definition at line 45 of file tm_virtualfn.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

Referenced by TM2C_DelVirtualFnsFromSlots(), and Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetAccess()

int Typemaker2_VirtualFn_GetAccess ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 282 of file tm_virtualfn.c.

Referenced by TM2C_BuildDefineVirtualFns(), TM2C_BuildProtoGetterVirtualFns(), TM2C_BuildProtoSetterVirtualFns(), and TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetDefaultReturnValue()

const char * Typemaker2_VirtualFn_GetDefaultReturnValue ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 346 of file tm_virtualfn.c.

Referenced by TM2C_BuildCodeVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetDescr()

const char * Typemaker2_VirtualFn_GetDescr ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 218 of file tm_virtualfn.c.

Referenced by TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetFlags()

uint32_t Typemaker2_VirtualFn_GetFlags ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 242 of file tm_virtualfn.c.

Referenced by TM2C_BuildCodeVirtualFns(), TM2C_BuildDefineVirtualFns(), TM2C_BuildProtoVirtualFns(), and TM2C_DelVirtualFnsFromSlots().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetLocation()

const char * Typemaker2_VirtualFn_GetLocation ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 194 of file tm_virtualfn.c.

Referenced by TM2C_BuildDefineVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetName()

const char * Typemaker2_VirtualFn_GetName ( const TYPEMAKER2_VIRTUALFN vf)

◆ Typemaker2_VirtualFn_GetParamTypeList()

TYPEMAKER2_VIRTUALFN_PARAM_LIST * Typemaker2_VirtualFn_GetParamTypeList ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 370 of file tm_virtualfn.c.

Referenced by TM2C_AddVirtualFnsFromSlots(), TM2C_BuildCodeVirtualFns(), TM2C_BuildDefineVirtualFns(), and TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetPreset()

const char * Typemaker2_VirtualFn_GetPreset ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 380 of file tm_virtualfn.c.

Referenced by _addVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetReturnType()

const char * Typemaker2_VirtualFn_GetReturnType ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 302 of file tm_virtualfn.c.

Referenced by TM2C_BuildCodeVirtualFns(), TM2C_BuildDefineVirtualFns(), and TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_GetReturnTypeDescr()

const char * Typemaker2_VirtualFn_GetReturnTypeDescr ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 326 of file tm_virtualfn.c.

Referenced by TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_new()

TYPEMAKER2_VIRTUALFN * Typemaker2_VirtualFn_new ( )

Definition at line 30 of file tm_virtualfn.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, and TypeMaker2_Access_Public.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Param_free()

void Typemaker2_VirtualFn_Param_free ( TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 425 of file tm_virtualfn.c.

References GWEN_FREE_OBJECT.

◆ Typemaker2_VirtualFn_Param_GetDescr()

const char * Typemaker2_VirtualFn_Param_GetDescr ( const TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 478 of file tm_virtualfn.c.

Referenced by TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Param_GetName()

const char * Typemaker2_VirtualFn_Param_GetName ( const TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 438 of file tm_virtualfn.c.

Referenced by TM2C_BuildCodeVirtualFns(), TM2C_BuildDefineVirtualFns(), and TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Param_GetType()

const char * Typemaker2_VirtualFn_Param_GetType ( const TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 458 of file tm_virtualfn.c.

Referenced by TM2C_BuildCodeVirtualFns(), TM2C_BuildDefineVirtualFns(), and TM2C_BuildProtoVirtualFns().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Param_new()

TYPEMAKER2_VIRTUALFN_PARAM * Typemaker2_VirtualFn_Param_new ( )

Definition at line 413 of file tm_virtualfn.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Param_SetDescr()

void Typemaker2_VirtualFn_Param_SetDescr ( TYPEMAKER2_VIRTUALFN_PARAM prm,
const char *  s 
)

Definition at line 486 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Param_SetName()

void Typemaker2_VirtualFn_Param_SetName ( TYPEMAKER2_VIRTUALFN_PARAM prm,
const char *  s 
)

Definition at line 446 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_Param_SetType()

void Typemaker2_VirtualFn_Param_SetType ( TYPEMAKER2_VIRTUALFN_PARAM prm,
const char *  s 
)

Definition at line 466 of file tm_virtualfn.c.

References NULL.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_readXml()

int Typemaker2_VirtualFn_readXml ( TYPEMAKER2_VIRTUALFN vf,
GWEN_XMLNODE node 
)

◆ Typemaker2_VirtualFn_SetAccess()

void Typemaker2_VirtualFn_SetAccess ( TYPEMAKER2_VIRTUALFN vf,
int  i 
)

Definition at line 292 of file tm_virtualfn.c.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetDefaultReturnValue()

void Typemaker2_VirtualFn_SetDefaultReturnValue ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 356 of file tm_virtualfn.c.

References NULL.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetDescr()

void Typemaker2_VirtualFn_SetDescr ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 228 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetFlags()

void Typemaker2_VirtualFn_SetFlags ( TYPEMAKER2_VIRTUALFN vf,
uint32_t  fl 
)

Definition at line 252 of file tm_virtualfn.c.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetLocation()

void Typemaker2_VirtualFn_SetLocation ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 204 of file tm_virtualfn.c.

References NULL.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetName()

void Typemaker2_VirtualFn_SetName ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 180 of file tm_virtualfn.c.

References NULL.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetPreset()

void Typemaker2_VirtualFn_SetPreset ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 390 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetReturnType()

void Typemaker2_VirtualFn_SetReturnType ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 312 of file tm_virtualfn.c.

References NULL.

Referenced by TM2C_AddVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SetReturnTypeDescr()

void Typemaker2_VirtualFn_SetReturnTypeDescr ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 334 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

◆ Typemaker2_VirtualFn_SubFlags()

void Typemaker2_VirtualFn_SubFlags ( TYPEMAKER2_VIRTUALFN vf,
uint32_t  fl 
)

Definition at line 272 of file tm_virtualfn.c.