Mercurial > repos > rhope
comparison runtime/bool.h @ 63:04baa003de5a
Merged latest changes with better C branch
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 05 May 2010 22:12:23 -0400 |
parents | d2f9b0a9403d a24eb366195c |
children |
comparison
equal
deleted
inserted
replaced
62:b218af069da7 | 63:04baa003de5a |
---|---|
1 #ifndef BOOL_H_ | 1 #ifndef BOOL_H_ |
2 #define BOOL_H_ | 2 #define BOOL_H_ |
3 #include "object.h" | 3 #include "object.h" |
4 | 4 |
5 OBegin | |
6 int32_t val; | |
7 Object(Boolean) | |
8 | |
9 #define Yes add_ref((object *)val_yes) | |
10 #define No add_ref((object *)val_no) | |
11 | |
12 extern t_Boolean * val_yes; | |
13 extern t_Boolean * val_no; | |
14 | 5 |
15 | 6 |
16 #endif //BOOL_H_ | 7 #endif //BOOL_H_ |