view runtime/integer.h @ 36:495dddadd058

User defined types work in the compiler now
author Mike Pavone <pavone@retrodev.com>
date Sat, 03 Oct 2009 03:18:15 -0400
parents 31f8182f3433
children 640f541e9116
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(_LT_,Int32)
MethodDef(_GT_,Int32)

object * make_Int32(int32_t val);

#endif //_INTEGER_H_