25 lines
372 B
C
25 lines
372 B
C
#ifndef INCLUDED_FUNCTION_H
|
|
#define INCLUDED_FUNCTION_H
|
|
|
|
#include "lisp/hashtable.h"
|
|
#include "lisp/object.h"
|
|
#include "lisp/util.h"
|
|
|
|
LISP_BEGIN_DECLS
|
|
|
|
DECLARE_CLASS(Function);
|
|
|
|
struct Function {
|
|
Object base;
|
|
Object *req_args;
|
|
Object *opt_args;
|
|
Object *kw_args;
|
|
Hashtable *arg_props;
|
|
};
|
|
struct FunctionClass {
|
|
Class base;
|
|
};
|
|
|
|
LISP_END_DECLS
|
|
#endif
|