Initial commit
This commit is contained in:
24
include/lisp/function.h
Normal file
24
include/lisp/function.h
Normal file
@ -0,0 +1,24 @@
|
||||
#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
|
Reference in New Issue
Block a user