quakeforge/ruamoko/scheme/Primitive.h
Bill Currie 75ec6bf244 Clean out some unnecessary types from the progs engine and clean up the mess.
This is a nasty commit, sorry, but 99% of the commit is interdependent.
2011-01-10 12:25:31 +09:00

16 lines
319 B
Objective-C

#ifndef __Primitive_h
#define __Primitive_h
#include "Procedure.h"
#include "Machine.h"
typedef SchemeObject [](SchemeObject []args, Machine []m) primfunc_t;
@interface Primitive: Procedure
{
primfunc_t func;
}
+ (id) newFromFunc: (primfunc_t) f;
- (id) initWithFunc: (primfunc_t) f;
@end
#endif //__Procedure_h