Implement gfxalloc

This commit is contained in:
Cuyler36
2023-03-17 21:28:05 -04:00
parent b7a609b9e1
commit 2bf1616199
7 changed files with 72 additions and 10 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef GFXALLOC_H
#define GFXALLOC_H
#include "types.h"
#include "PR/mbi.h"
#ifdef __cplusplus
extern "C" {
#endif
extern Gfx* gfxopen(Gfx* gfxp);
extern Gfx* gfxclose(Gfx* gfxp, Gfx* gfxp_new);
extern Gfx* gfxalloc(Gfx** gfxpp, size_t size);
#ifdef __cplusplus
};
#endif
#endif