feat(profile): add more work related to console

This commit is contained in:
phaneron 2024-12-17 00:28:01 -05:00
parent 08b49c5197
commit e95eb3354d
49 changed files with 9188 additions and 245 deletions

View file

@ -0,0 +1,19 @@
#ifndef DB_I_DATABASE_H
#define DB_I_DATABASE_H
DECLARE_STRUCT(IDatabase__vtable);
struct IDatabase__vtable {
// T* GetRecord(int32_t id);
void* v_fn_GetRecord;
};
#define DB_I_DATABASE(T) \
typedef struct IDatabase_##T IDatabase_##T; \
struct IDatabase_##T { \
IDatabase__vtable* v_table; \
T* m_records; \
T** m_recordsById; \
}
#endif