2022-07-13 09:16:35 +00:00
|
|
|
|
#ifndef __HGCRASH_H__
|
|
|
|
|
#define __HGCRASH_H__
|
|
|
|
|
|
|
|
|
|
#include "HGDef.h"
|
|
|
|
|
#include "HGBaseErr.h"
|
|
|
|
|
|
2022-10-12 03:35:09 +00:00
|
|
|
|
typedef void (HGAPI *HGCrashFunc)(HGPointer crashAddr, HGPointer param);
|
2022-07-13 09:16:35 +00:00
|
|
|
|
|
|
|
|
|
HGEXPORT HGResult HGAPI HGBase_RegisterCrashFunc(HGCrashFunc func, HGPointer param);
|
|
|
|
|
|
|
|
|
|
HGEXPORT HGResult HGAPI HGBase_MakeCrashFile(const HGChar *filePath);
|
|
|
|
|
|
|
|
|
|
#endif /* __HGCRASH_H__ */
|