comparison runtime/integer.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
2 #define _INTEGER_H_ 2 #define _INTEGER_H_
3 3
4 #include "object.h" 4 #include "object.h"
5 #include "func.h" 5 #include "func.h"
6 6
7 Box(int32_t,num,Int32)
8
9 MethodDef(_PL_,Int32)
10 MethodDef(_MN_,Int32)
11 MethodDef(_TM_,Int32)
12 MethodDef(_DV_,Int32)
13 MethodDef(LShift,Int32)
14 MethodDef(RShift,Int32)
15 MethodDef(_LT_,Int32)
16 MethodDef(_GT_,Int32)
17 7
18 object * make_Int32(int32_t val); 8 object * make_Int32(int32_t val);
19 9
20 #endif //_INTEGER_H_ 10 #endif //_INTEGER_H_