view runtime/integer.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 640f541e9116
children a24eb366195c
line wrap: on
line source

#ifndef _INTEGER_H_
#define _INTEGER_H_

#include "object.h"
#include "func.h"

Box(int32_t,num,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_