8 lines
152 B
C
8 lines
152 B
C
|
#include "environment.h"
|
||
|
|
||
|
lval* lval_fun(lbuiltin func) {
|
||
|
lval* v = malloc(sizeof(lval));
|
||
|
v->type = LVAL_FUN;
|
||
|
v->fun = func;
|
||
|
return v;
|
||
|
}
|