view runtime/integer.h @ 37:640f541e9116

Added support for type declarations on user defined workers and added a few more methods to Int32 in the runtime for the C backend
author Mike Pavone <pavone@retrodev.com>
date Mon, 05 Oct 2009 23:12:43 -0400
parents 31f8182f3433
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_