gwenhywfar  4.99.8beta
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 ( TYPEMAKER2_VIRTUALFN  ,
Typemaker2_VirtualFn   
)
GWEN_LIST_FUNCTIONS ( TYPEMAKER2_VIRTUALFN_PARAM  ,
Typemaker2_VirtualFn_Param   
)
void Typemaker2_VirtualFn_AddFlags ( TYPEMAKER2_VIRTUALFN vf,
uint32_t  fl 
)

Definition at line 244 of file tm_virtualfn.c.

Referenced by _addVirtualFnsFromSlots().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_Attach ( TYPEMAKER2_VIRTUALFN vf)

Definition at line 65 of file tm_virtualfn.c.

void Typemaker2_VirtualFn_free ( TYPEMAKER2_VIRTUALFN vf)

Definition at line 44 of file tm_virtualfn.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

Referenced by _delVirtualFnsFromSlots(), and Typemaker2_Type_readXml().

Here is the caller graph for this function:

int Typemaker2_VirtualFn_GetAccess ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 262 of file tm_virtualfn.c.

Referenced by _buildDefineVirtualFns(), _buildProtoSetterVirtualFns(), and _buildProtoVirtualFns().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_GetDefaultReturnValue ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 316 of file tm_virtualfn.c.

Referenced by _buildCodeVirtualFns().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_GetDescr ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 206 of file tm_virtualfn.c.

Referenced by _buildProtoVirtualFns().

Here is the caller graph for this function:

uint32_t Typemaker2_VirtualFn_GetFlags ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 226 of file tm_virtualfn.c.

Referenced by _buildCodeVirtualFns(), _buildDefineVirtualFns(), _buildProtoVirtualFns(), and _delVirtualFnsFromSlots().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_GetLocation ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 186 of file tm_virtualfn.c.

Referenced by _buildDefineVirtualFns().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_GetName ( const TYPEMAKER2_VIRTUALFN vf)
TYPEMAKER2_VIRTUALFN_PARAM_LIST* Typemaker2_VirtualFn_GetParamTypeList ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 336 of file tm_virtualfn.c.

Referenced by _addVirtualFnsFromSlots(), _buildCodeVirtualFns(), _buildDefineVirtualFns(), and _buildProtoVirtualFns().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_GetPreset ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 345 of file tm_virtualfn.c.

Referenced by _buildConstructor().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_GetReturnType ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 280 of file tm_virtualfn.c.

Referenced by _buildCodeVirtualFns(), _buildDefineVirtualFns(), and _buildProtoVirtualFns().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_GetReturnTypeDescr ( const TYPEMAKER2_VIRTUALFN vf)

Definition at line 300 of file tm_virtualfn.c.

Referenced by _buildProtoVirtualFns().

Here is the caller graph for this function:

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 _addVirtualFnsFromSlots(), and Typemaker2_Type_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_Param_free ( TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 385 of file tm_virtualfn.c.

References GWEN_FREE_OBJECT.

const char* Typemaker2_VirtualFn_Param_GetDescr ( const TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 429 of file tm_virtualfn.c.

Referenced by _buildProtoVirtualFns().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_Param_GetName ( const TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 397 of file tm_virtualfn.c.

Referenced by _buildCodeVirtualFns(), _buildDefineVirtualFns(), and _buildProtoVirtualFns().

Here is the caller graph for this function:

const char* Typemaker2_VirtualFn_Param_GetType ( const TYPEMAKER2_VIRTUALFN_PARAM prm)

Definition at line 413 of file tm_virtualfn.c.

Referenced by _buildCodeVirtualFns(), _buildDefineVirtualFns(), and _buildProtoVirtualFns().

Here is the caller graph for this function:

TYPEMAKER2_VIRTUALFN_PARAM* Typemaker2_VirtualFn_Param_new ( )

Definition at line 374 of file tm_virtualfn.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by _addVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_Param_SetDescr ( TYPEMAKER2_VIRTUALFN_PARAM prm,
const char *  s 
)

Definition at line 436 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_Param_SetName ( TYPEMAKER2_VIRTUALFN_PARAM prm,
const char *  s 
)

Definition at line 404 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_Param_SetType ( TYPEMAKER2_VIRTUALFN_PARAM prm,
const char *  s 
)

Definition at line 420 of file tm_virtualfn.c.

References NULL.

Referenced by _addVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

int Typemaker2_VirtualFn_readXml ( TYPEMAKER2_VIRTUALFN vf,
GWEN_XMLNODE node 
)
void Typemaker2_VirtualFn_SetAccess ( TYPEMAKER2_VIRTUALFN vf,
int  i 
)

Definition at line 271 of file tm_virtualfn.c.

Referenced by _addVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetDefaultReturnValue ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 325 of file tm_virtualfn.c.

References NULL.

Referenced by _addVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetDescr ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 215 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetFlags ( TYPEMAKER2_VIRTUALFN vf,
uint32_t  fl 
)

Definition at line 235 of file tm_virtualfn.c.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetLocation ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 195 of file tm_virtualfn.c.

References NULL.

Referenced by _addVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetName ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 175 of file tm_virtualfn.c.

References NULL.

Referenced by _addVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetPreset ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 354 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetReturnType ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 289 of file tm_virtualfn.c.

References NULL.

Referenced by _addVirtualFnsFromSlots(), and Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SetReturnTypeDescr ( TYPEMAKER2_VIRTUALFN vf,
const char *  s 
)

Definition at line 307 of file tm_virtualfn.c.

References NULL.

Referenced by Typemaker2_VirtualFn_readXml().

Here is the caller graph for this function:

void Typemaker2_VirtualFn_SubFlags ( TYPEMAKER2_VIRTUALFN vf,
uint32_t  fl 
)

Definition at line 253 of file tm_virtualfn.c.