comparison runtime/func.h @ 48:a24eb366195c

Fixed some bugs introduced in previous commit and moved definition of integer methods out of runtime and into the compiler
author Mike Pavone <pavone@retrodev.com>
date Tue, 02 Mar 2010 00:18:49 -0500
parents 3498713c3dc9
children 70af7fa155d0
comparison
equal deleted inserted replaced
47:6202b866d72c 48:a24eb366195c
11 11
12 12
13 typedef returntype (*rhope_func)(struct calldata *); 13 typedef returntype (*rhope_func)(struct calldata *);
14 typedef void (*special_func) (struct object *); 14 typedef void (*special_func) (struct object *);
15 15
16 #define MethodName(name,type) f_ ## name ## _AT_ ## type 16 #define MethodName(name,type) f_ ## name ## AT_ ## type
17 17
18 #define Func(name,numparams,callspace,localtype) \ 18 #define Func(name,numparams,callspace,localtype) \
19 returntype f_ ## name (calldata * cdata)\ 19 returntype f_ ## name (calldata * cdata)\
20 {\ 20 {\
21 localtype *locals;\ 21 localtype *locals;\