15 #include "tm_inline_p.h"
19 #include <gwenhywfar/debug.h>
20 #include <gwenhywfar/misc.h>
45 if (th->refCount==1) {
78 if (s) th->content=strdup(s);
79 else th->content=
NULL;
102 assert(th->refCount);
110 assert(th->refCount);
118 assert(th->refCount);
119 return th->typeFlagsMask;
126 assert(th->refCount);
127 return th->typeFlagsValue;
151 if (strcasecmp(s,
"header")==0)
153 else if (strcasecmp(s,
"code")==0)
void Typemaker2_Inline_SetAccess(TYPEMAKER2_INLINE *th, int i)
int Typemaker2_Inline_GetTypeFlagsValue(const TYPEMAKER2_INLINE *th)
const char * GWEN_XMLNode_GetProperty(const GWEN_XMLNODE *n, const char *name, const char *defaultValue)
const char * Typemaker2_Inline_GetContent(const TYPEMAKER2_INLINE *th)
#define GWEN_FREE_OBJECT(varname)
void Typemaker2_Inline_free(TYPEMAKER2_INLINE *th)
TYPEMAKER2_INLINE * Typemaker2_Inline_new()
struct TYPEMAKER2_INLINE TYPEMAKER2_INLINE
#define GWEN_NEW_OBJECT(typ, varname)
const char * GWEN_XMLNode_GetCharValue(const GWEN_XMLNODE *n, const char *name, const char *defValue)
int Typemaker2_Inline_GetTypeFlagsMask(const TYPEMAKER2_INLINE *th)
int Typemaker2_AccessFromString(const char *s)
void Typemaker2_Inline_SetContent(TYPEMAKER2_INLINE *th, const char *s)
TYPEMAKER2_INLINE * Typemaker2_Inline_fromXml(GWEN_XMLNODE *node)
void Typemaker2_Inline_SetLocation(TYPEMAKER2_INLINE *th, int i)
uint32_t Typemaker2_TypeFlagsFromString(const char *t)
int Typemaker2_Inline_GetLocation(const TYPEMAKER2_INLINE *th)
int Typemaker2_Inline_GetAccess(const TYPEMAKER2_INLINE *th)
#define GWEN_LIST_INIT(t, element)
void Typemaker2_Inline_Attach(TYPEMAKER2_INLINE *th)
#define GWEN_LIST_FUNCTIONS(t, pr)
#define GWEN_LIST_FINI(t, element)
struct GWEN__XMLNODE GWEN_XMLNODE