|
gwenhywfar 5.10.1
|
#include "tm_virtualfn_p.h"#include "tm_util.h"#include "tm_type.h"#include <gwenhywfar/debug.h>#include <gwenhywfar/misc.h>#include <assert.h>
Go to the source code of this file.
| 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 262 of file tm_virtualfn.c.
Referenced by TM2C_AddVirtualFnsFromSlots().

| void Typemaker2_VirtualFn_Attach | ( | TYPEMAKER2_VIRTUALFN * | vf | ) |
Definition at line 67 of file tm_virtualfn.c.
| 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().

| 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().

| const char * Typemaker2_VirtualFn_GetDefaultReturnValue | ( | const TYPEMAKER2_VIRTUALFN * | vf | ) |
Definition at line 346 of file tm_virtualfn.c.
Referenced by TM2C_BuildCodeVirtualFns().

| const char * Typemaker2_VirtualFn_GetDescr | ( | const TYPEMAKER2_VIRTUALFN * | vf | ) |
Definition at line 218 of file tm_virtualfn.c.
Referenced by TM2C_BuildProtoVirtualFns().

| 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().

| const char * Typemaker2_VirtualFn_GetLocation | ( | const TYPEMAKER2_VIRTUALFN * | vf | ) |
Definition at line 194 of file tm_virtualfn.c.
Referenced by TM2C_BuildDefineVirtualFns().

| const char * Typemaker2_VirtualFn_GetName | ( | const TYPEMAKER2_VIRTUALFN * | vf | ) |
Definition at line 170 of file tm_virtualfn.c.
Referenced by _addVirtualFns(), _addVirtualFunctions(), TM2C_BuildCodeVirtualFns(), TM2C_BuildDefineVirtualFns(), TM2C_BuildGetterVirtualFns(), TM2C_BuildProtoGetterVirtualFns(), TM2C_BuildProtoSetterVirtualFns(), TM2C_BuildProtoVirtualFns(), and TM2C_BuildSetterVirtualFns().

| 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().

| const char * Typemaker2_VirtualFn_GetPreset | ( | const TYPEMAKER2_VIRTUALFN * | vf | ) |
Definition at line 380 of file tm_virtualfn.c.
Referenced by _addVirtualFns().

| 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().

| const char * Typemaker2_VirtualFn_GetReturnTypeDescr | ( | const TYPEMAKER2_VIRTUALFN * | vf | ) |
Definition at line 326 of file tm_virtualfn.c.
Referenced by TM2C_BuildProtoVirtualFns().

| 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().

| void Typemaker2_VirtualFn_Param_free | ( | TYPEMAKER2_VIRTUALFN_PARAM * | prm | ) |
Definition at line 425 of file tm_virtualfn.c.
References GWEN_FREE_OBJECT.
| const char * Typemaker2_VirtualFn_Param_GetDescr | ( | const TYPEMAKER2_VIRTUALFN_PARAM * | prm | ) |
Definition at line 478 of file tm_virtualfn.c.
Referenced by TM2C_BuildProtoVirtualFns().

| 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().

| 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().

| 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().

| 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().

| 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().

| 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().

| int Typemaker2_VirtualFn_readXml | ( | TYPEMAKER2_VIRTUALFN * | vf, |
| GWEN_XMLNODE * | node | ||
| ) |
Definition at line 76 of file tm_virtualfn.c.
References DBG_ERROR, GWEN_ERROR_BAD_DATA, GWEN_LOGDOMAIN, GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_FindNextTag(), GWEN_XMLNode_GetCharValue(), GWEN_XMLNode_GetProperty(), NULL, TypeMaker2_Access_Unknown, Typemaker2_AccessFromString(), Typemaker2_FlagsFromString(), Typemaker2_VirtualFn_Param_new(), Typemaker2_VirtualFn_Param_SetDescr(), Typemaker2_VirtualFn_Param_SetName(), Typemaker2_VirtualFn_Param_SetType(), Typemaker2_VirtualFn_SetAccess(), Typemaker2_VirtualFn_SetDefaultReturnValue(), Typemaker2_VirtualFn_SetDescr(), Typemaker2_VirtualFn_SetFlags(), Typemaker2_VirtualFn_SetLocation(), Typemaker2_VirtualFn_SetName(), Typemaker2_VirtualFn_SetPreset(), Typemaker2_VirtualFn_SetReturnType(), and Typemaker2_VirtualFn_SetReturnTypeDescr().
Referenced by Typemaker2_Type_readXml().


| 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().

| 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().

| 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().

| void Typemaker2_VirtualFn_SetFlags | ( | TYPEMAKER2_VIRTUALFN * | vf, |
| uint32_t | fl | ||
| ) |
Definition at line 252 of file tm_virtualfn.c.
Referenced by Typemaker2_VirtualFn_readXml().

| 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().

| 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().

| 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().

| 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().

| 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().

| void Typemaker2_VirtualFn_SubFlags | ( | TYPEMAKER2_VIRTUALFN * | vf, |
| uint32_t | fl | ||
| ) |
Definition at line 272 of file tm_virtualfn.c.