mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
75ec6bf244
This is a nasty commit, sorry, but 99% of the commit is interdependent.
16 lines
319 B
Objective-C
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
|