summaryrefslogtreecommitdiff
path: root/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'env.h')
-rw-r--r--env.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/env.h b/env.h
index fb7b941d4d..ebcfcc5d31 100644
--- a/env.h
+++ b/env.h
@@ -15,7 +15,7 @@ extern struct FRAME {
int argc;
VALUE *argv;
ID last_func;
- struct RClass *last_class;
+ VALUE last_class;
VALUE cbase;
struct FRAME *prev;
char *file;
@@ -23,6 +23,8 @@ extern struct FRAME {
int iter;
} *the_frame;
+void gc_mark_frame _((struct FRAME *));
+
extern struct SCOPE {
struct RBasic super;
ID *local_tbl;
@@ -36,7 +38,7 @@ extern struct SCOPE {
extern int rb_in_eval;
-extern struct RClass *the_class;
+extern VALUE the_class;
struct RVarmap {
struct RBasic super;