comparison runtime/bool.h @ 42:aabda74c7a88

Fields can now be defined to have naked primitive types
author Mike Pavone <pavone@retrodev.com>
date Tue, 13 Oct 2009 00:07:34 -0400
parents 31f8182f3433
children a24eb366195c
comparison
equal deleted inserted replaced
41:1b86a1ee500a 42:aabda74c7a88
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 5 Box(int32_t,val,Boolean)
6 int32_t val;
7 Object(Boolean)
8 6
9 #define Yes add_ref((object *)val_yes) 7 #define Yes add_ref((object *)val_yes)
10 #define No add_ref((object *)val_no) 8 #define No add_ref((object *)val_no)
11 9
12 extern t_Boolean * val_yes; 10 extern t_Boolean * val_yes;