move pic_env to proc.h
This commit is contained in:
parent
b998c903a3
commit
a93c3caabf
|
@ -7,11 +7,6 @@
|
|||
#include "picconf.h"
|
||||
#include "picrin/value.h"
|
||||
|
||||
struct pic_env {
|
||||
pic_value assoc;
|
||||
struct pic_env *parent;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
pic_value *sp;
|
||||
pic_value *stbase, *stend;
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
#ifndef PROC_H__
|
||||
#define PROC_H__
|
||||
|
||||
struct pic_env {
|
||||
pic_value assoc;
|
||||
struct pic_env *parent;
|
||||
};
|
||||
|
||||
struct pic_proc {
|
||||
PIC_OBJECT_HEADER
|
||||
bool cfunc_p;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "picrin.h"
|
||||
#include "picrin/gc.h"
|
||||
#include "picrin/proc.h"
|
||||
|
||||
static struct pic_env *
|
||||
pic_new_empty_env()
|
||||
|
|
Loading…
Reference in New Issue