source:
soft/giet_vm/libs/libsrl/srl_memspace.h
@
225
Last change on this file since 225 was 178, checked in by , 12 years ago | |
---|---|
File size: 352 bytes |
Line | |
---|---|
1 | #ifndef SRL_MEMSPACE_H |
2 | #define SRL_MEMSPACE_H |
3 | |
4 | /** |
5 | * @file |
6 | * @module{SRL} |
7 | * @short Memory resources |
8 | */ |
9 | |
10 | |
11 | /** |
12 | The memspace abstract type. |
13 | */ |
14 | typedef void* srl_memspace_t; |
15 | |
16 | /** |
17 | @this retrieves the size of a memspace |
18 | |
19 | @param memsp The memspace |
20 | @return the size of the memspace |
21 | */ |
22 | #define SRL_MEMSPACE_SIZE(memsp) ((memsp)->size) |
23 | |
24 | #endif |
Note: See TracBrowser
for help on using the repository browser.