Add enum, struct, usertype, datatype and arg stringify functions
This commit is contained in:
@@ -139,7 +139,7 @@ struct cmacro {
|
||||
struct cstruct {
|
||||
Str8 name;
|
||||
CArgList args;
|
||||
Str8 *typedef_name;
|
||||
Str8 typedef_name;
|
||||
};
|
||||
|
||||
struct cusertype {
|
||||
@@ -232,5 +232,20 @@ struct cobject {
|
||||
};
|
||||
|
||||
void cobject_to_string(Str8 *dst, const CObject *object);
|
||||
void ctype_to_string(Str8 *dst, CType ctype);
|
||||
void cqualifier_to_string(Str8 *dst, CQualifier cqualifier);
|
||||
void cpointertype_to_string(Str8 *dst, CPointerType cpointertype);
|
||||
void cpointer_to_string(Str8 *dst, const CPointer *cpointer);
|
||||
void cenumval_to_string(Str8 *dst, const CEnumVal *cenumval);
|
||||
void cenum_to_string(Str8 *dst, const CEnum *cenum);
|
||||
void cmacro_to_string(Str8 *dst, const CMacro *cmacro);
|
||||
void cstruct_to_string(Str8 *dst, const CStruct *cstruct);
|
||||
void declare_cstruct(Str8 *dst, const CStruct *cstruct);
|
||||
void define_cstruct(Str8 *dst, const CStruct *cstruct);
|
||||
void cusertype_to_string(Str8 *dst, const CUserType *cusertype);
|
||||
void cdatatype_to_string(Str8 *dst, const CDataType *cdatatype);
|
||||
void carg_to_string(Str8 *dst, const CArg *carg);
|
||||
void cinclude_to_string(Str8 *dst, const CInclude *cinclude);
|
||||
b32 cheaderinclude_to_string(Str8 *dst, const CHeaderInclude *cheaderinclude);
|
||||
|
||||
#endif // !DATATYPES_H
|
||||
|
Reference in New Issue
Block a user