comparison runtime/bool.h @ 12:31f8182f3433

Finished fib test and did some small work on the c backend
author Mike Pavone <pavone@retrodev.com>
date Mon, 25 May 2009 23:34:36 -0400
parents
children aabda74c7a88 d2f9b0a9403d
comparison
equal deleted inserted replaced
11:3021dac0d8f5 12:31f8182f3433
1 #ifndef BOOL_H_
2 #define BOOL_H_
3 #include "object.h"
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
15 MethodDef(If,Boolean)
16
17 #endif //BOOL_H_