We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 094b182 commit abc95d3Copy full SHA for abc95d3
jerry-core/mem/mem-poolman.cpp
@@ -52,10 +52,15 @@ size_t mem_free_chunks_number;
52
*/
53
typedef uint8_t mem_pool_chunk_index_t;
54
55
+/**
56
+ * Type for mem_pool_chunk
57
+ */
58
+typedef struct mem_pool_chunk mem_pool_chunk_t;
59
+
60
/**
61
* Pool chunk
62
-typedef struct mem_pool_chunk_t
63
+struct mem_pool_chunk
64
{
65
66
* Union of possible free chunk layouts
@@ -102,7 +107,7 @@ typedef struct mem_pool_chunk_t
102
107
103
108
uint8_t allocated_area[MEM_POOL_CHUNK_SIZE];
104
109
} u;
105
-} mem_pool_chunk_t;
110
+} mem_pool_chunk;
106
111
112
113
* The condition is assumed when using pointer arithmetics on (mem_pool_chunk_t *) pointer type
0 commit comments