Mercurial > repos > rhope
view runtime/integer.h @ 41:1b86a1ee500a
Added faster allocator for small objects
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 10 Oct 2009 16:40:50 -0400 |
parents | 640f541e9116 |
children | aabda74c7a88 d2f9b0a9403d |
line wrap: on
line source
#ifndef _INTEGER_H_ #define _INTEGER_H_ #include "object.h" #include "func.h" OBegin int32_t num; Object(Int32) MethodDef(_PL_,Int32) MethodDef(_MN_,Int32) MethodDef(_TM_,Int32) MethodDef(_DV_,Int32) MethodDef(LShift,Int32) MethodDef(RShift,Int32) MethodDef(_LT_,Int32) MethodDef(_GT_,Int32) object * make_Int32(int32_t val); #endif //_INTEGER_H_