expose the struct of BLOCKHEAP

This commit is contained in:
Vincent Wei
2021-03-28 20:54:14 +08:00
parent f970fd377e
commit 561b4c3ffc
2 changed files with 20 additions and 8 deletions
+2 -2
View File
@@ -52,6 +52,8 @@
#ifndef GUI_BLOCKHEAP_H
#define GUI_BLOCKHEAP_H
#ifndef _MGUI_GDI_H /* included in include/gdi.h */
struct _BLOCKHEAP {
#ifdef _MGRM_THREADS
pthread_mutex_t lock;
@@ -71,8 +73,6 @@ struct _BLOCKHEAP {
unsigned char* usage_bmp;
};
#ifndef _MGUI_GDI_H /* included in include/gdi.h */
typedef struct _BLOCKHEAP BLOCKHEAP;
typedef BLOCKHEAP* PBLOCKHEAP;