102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/* Recovered declarations; ABI and original layout preserved. */
2#ifndef PCDOGS_MEMORY_TYPES_H
3#define PCDOGS_MEMORY_TYPES_H
5
6#pragma pack(push, 4)
7
9{
10 uint32_t size;
11};
12
13#pragma pack(pop)
14_Static_assert(sizeof(struct Mem_AllocationHeader) == 4, "Mem_AllocationHeader size");
15
16#pragma pack(push, 4)
17
19{
20 void *base;
21 uint32_t size;
22 void *current;
23 uint32_t remaining;
24};
25
26#pragma pack(pop)
27_Static_assert(sizeof(struct Mem_Extent) == 16, "Mem_Extent size");
28
29#pragma pack(push, 4)
30
32{
33 uint32_t handle_id;
35 uint32_t alloc_size;
36 uint32_t alloc_flags;
37};
38
39#pragma pack(pop)
40_Static_assert(sizeof(struct Mem_HandleEntry) == 16, "Mem_HandleEntry size");
41
42#pragma pack(push, 4)
43
45{
46 void *ptr;
48 uint32_t handle_id;
49 uint32_t size;
50};
51
52#pragma pack(pop)
53_Static_assert(sizeof(struct Mem_HandlePoolEntry) == 16, "Mem_HandlePoolEntry size");
54
55#endif /* PCDOGS_MEMORY_TYPES_H */
uint32_t size
Definition types.h:10
void * base
Definition types.h:20
uint32_t size
Definition types.h:21
void * current
Definition types.h:22
uint32_t remaining
Definition types.h:23
struct Mem_HandleEntry * next_free
Definition types.h:34
uint32_t alloc_size
Definition types.h:35
uint32_t handle_id
Definition types.h:33
uint32_t alloc_flags
Definition types.h:36
uint32_t handle_id
Definition types.h:48
struct Mem_HandlePoolEntry * next_free
Definition types.h:47
uint32_t size
Definition types.h:49