pure sdk for main

This commit is contained in:
divadiow
2025-08-27 09:51:58 +01:00
parent f0d033f1c9
commit 0571416e7c
3283 changed files with 1577720 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef _HGIC_SDK_MTRACE_H_
#define _HGIC_SDK_MTRACE_H_
#ifdef __cplusplus
extern "C" {
#endif
struct mtrace_entry {
void *ptr;
const char *func;
int line;
int size;
};
struct mtrace {
int size;
struct mtrace_entry *entrys;
};
void mtrace_print(struct mtrace *mt);
void mtrace_add(struct mtrace *mt, void *ptr, const char *func, int line, int size);
void mtrace_del(struct mtrace *mt, void *ptr);
#ifdef __cplusplus
}
#endif
#endif