#endif\r
#endif\r
\r
+#define CHNLIB_DEBUG_ARGUMENTS __FILE__, __LINE__, __FUNCTION__\r
+\r
#ifdef DEBUG\r
//#define DEBUG_MEMORY_ALLOCATION\r
#endif\r
\r
typedef struct CHNLIB_STRUCTURE_HEADER CHNLIB_StructureHeader;\r
struct CHNLIB_STRUCTURE_HEADER {\r
+ //ライブラリ共通構造体ヘッダ\r
uint signature;\r
uint typeid;\r
};\r
//@chnlib.c\r
void CHNLIB_Debug(const char format[], const char filename[], int line, const char funcname[], ...);\r
void CHNLIB_Debug_PrintStructureData(void *structure, uint level);\r
-void CHNLIB_ReportError(const char format[], const char filename[], int line, const char funcname[], ...); //("", __FILE__, __LINE__, __FUNCTION__);\r
+void CHNLIB_ReportError(const char format[], const char filename[], int line, const char funcname[], ...); //("", CHNLIB_DEBUG_ARGUMENTS);\r
void CHNLIB_StructureHeader_Initialize(CHNLIB_StructureHeader *header, uint typeid);\r
uint CHNLIB_StructureHeader_GetTypeID(const void *structure);\r
void *CHNLIB_System_AllocateMemory_Strict(int size, const char filename[], int line, const char funcname[]);\r