diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-21 20:21:03 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-21 20:21:03 (GMT) |
| commit | 644c1307124dffd13268445d0aebaed13a090c78 (patch) | |
| tree | e0d1ba738b7adbb484ba6d1fb3ae094e0c94b610 /src/pim/Machine.h | |
| parent | 939a04d3c77bf9aa8d54e912f5e12817de51756c (diff) | |
| download | powder-644c1307124dffd13268445d0aebaed13a090c78.zip powder-644c1307124dffd13268445d0aebaed13a090c78.tar.gz | |
Set properties with integer.property
Diffstat (limited to 'src/pim/Machine.h')
| -rw-r--r-- | src/pim/Machine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pim/Machine.h b/src/pim/Machine.h index dcaef92..a40dd51 100644 --- a/src/pim/Machine.h +++ b/src/pim/Machine.h @@ -42,6 +42,7 @@ namespace pim #define CSA(argument) (*((Word*)&ram[framePointer-argument])) #define CS() (*((Word*)&ram[callStack])) #define PS() (*((Word*)&ram[programStack])) + #define PPROP(index, property) (*((Word*)(&sim->parts[(index)]+property))) int programStack; //Points to the item on top of the Program Stack int callStack; //Points to the item on top of the call stack |
