mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +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
|