Mercurial > repos > rhope
comparison runtime/bool.h @ 48:a24eb366195c
Fixed some bugs introduced in previous commit and moved definition of integer methods out of runtime and into the compiler
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 02 Mar 2010 00:18:49 -0500 |
parents | aabda74c7a88 |
children | 04baa003de5a |
comparison
equal
deleted
inserted
replaced
47:6202b866d72c | 48:a24eb366195c |
---|---|
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 Box(int32_t,val,Boolean) | |
6 | |
7 #define Yes add_ref((object *)val_yes) | |
8 #define No add_ref((object *)val_no) | |
9 | |
10 extern t_Boolean * val_yes; | |
11 extern t_Boolean * val_no; | |
12 | 5 |
13 MethodDef(If,Boolean) | 6 MethodDef(If,Boolean) |
14 | 7 |
15 #endif //BOOL_H_ | 8 #endif //BOOL_H_ |