Commit da9b9c54 authored by Masaki Muranaka's avatar Masaki Muranaka

Remove unused structures.

parent 028ac46d
...@@ -18,14 +18,6 @@ ...@@ -18,14 +18,6 @@
KHASH_DEFINE(mt, mrb_sym, struct RProc*, 1, kh_int_hash_func, kh_int_hash_equal) KHASH_DEFINE(mt, mrb_sym, struct RProc*, 1, kh_int_hash_func, kh_int_hash_equal)
typedef struct fc_result {
mrb_sym name;
struct RClass * klass;
mrb_value path;
struct RClass * track;
struct fc_result *prev;
} fcresult_t;
void void
mrb_gc_mark_mt(mrb_state *mrb, struct RClass *c) mrb_gc_mark_mt(mrb_state *mrb, struct RClass *c)
{ {
......
...@@ -7,10 +7,6 @@ ...@@ -7,10 +7,6 @@
#ifndef MRUBY_ERROR_H #ifndef MRUBY_ERROR_H
#define MRUBY_ERROR_H #define MRUBY_ERROR_H
struct RException {
MRB_OBJECT_HEADER;
};
void mrb_sys_fail(mrb_state *mrb, const char *mesg); void mrb_sys_fail(mrb_state *mrb, const char *mesg);
void mrb_bug_errno(const char*, int); void mrb_bug_errno(const char*, int);
int sysexit_status(mrb_state *mrb, mrb_value err); int sysexit_status(mrb_state *mrb, mrb_value err);
......
...@@ -526,11 +526,6 @@ mrb_hash_delete(mrb_state *mrb, mrb_value self) ...@@ -526,11 +526,6 @@ mrb_hash_delete(mrb_state *mrb, mrb_value self)
mrb_get_args(mrb, "o", &key); mrb_get_args(mrb, "o", &key);
return mrb_hash_delete_key(mrb, self, key); return mrb_hash_delete_key(mrb, self, key);
} }
struct shift_var {
mrb_value key;
mrb_value val;
};
/* 15.2.13.4.24 */ /* 15.2.13.4.24 */
/* /*
......
...@@ -26,12 +26,6 @@ typedef enum { ...@@ -26,12 +26,6 @@ typedef enum {
NOEX_RESPONDS = 0x80 NOEX_RESPONDS = 0x80
} mrb_method_flag_t; } mrb_method_flag_t;
struct obj_ivar_tag {
mrb_value obj;
int (*func)(mrb_sym key, mrb_value val, void * arg);
void * arg;
};
int int
mrb_obj_basic_to_s_p(mrb_state *mrb, mrb_value obj) mrb_obj_basic_to_s_p(mrb_state *mrb, mrb_value obj)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment