main
test-branch
| Line | |
|---|
| 1 | #ifndef _MEMORY_
|
|---|
| 2 | #define _MEMORY_
|
|---|
| 3 | typedef struct $memory $memory;
|
|---|
| 4 | #define $nothing ($memory)0
|
|---|
| 5 |
|
|---|
| 6 | /* holds if any memory unit may be modified by the
|
|---|
| 7 | * current process now or in the future.
|
|---|
| 8 | */
|
|---|
| 9 | _Bool $write($memory mem,...);
|
|---|
| 10 |
|
|---|
| 11 | /* holds if any memory unit may be read by the
|
|---|
| 12 | * current process now or in the future.
|
|---|
| 13 | */
|
|---|
| 14 | _Bool $read($memory mem,...);
|
|---|
| 15 |
|
|---|
| 16 | /* holds if any memory unit may be read or modified by the
|
|---|
| 17 | * current process now or in the future.
|
|---|
| 18 | */
|
|---|
| 19 | _Bool $access($memory mem,...);
|
|---|
| 20 |
|
|---|
| 21 | _Bool $inc(void*ptr);
|
|---|
| 22 |
|
|---|
| 23 | _Bool $dec(void*ptr);
|
|---|
| 24 |
|
|---|
| 25 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.