Mercurial > repos > rhope
view runtime/integer.c @ 62:b218af069da7
merge
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 10 Oct 2009 16:43:37 -0400 |
parents | d2f9b0a9403d |
children | 04baa003de5a |
line wrap: on
line source
#include "integer.h" #include "builtin.h" #include "context.h" #include "bool.h" object * make_Int32(int32_t val) { t_Int32 * obj; object * ret = new_object(TYPE_INT32); obj = (t_Int32 *)ret; obj->num = val; return ret; }