Commit c0e1fc93 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #918 from monaka/pr-remove-unused-struct-and-more

Remove unused struct and more
parents 778dbddb 0b7b3f9d
......@@ -18,14 +18,6 @@
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
mrb_gc_mark_mt(mrb_state *mrb, struct RClass *c)
{
......
......@@ -7,10 +7,6 @@
#ifndef MRUBY_ERROR_H
#define MRUBY_ERROR_H
struct RException {
MRB_OBJECT_HEADER;
};
void mrb_sys_fail(mrb_state *mrb, const char *mesg);
void mrb_bug_errno(const char*, int);
int sysexit_status(mrb_state *mrb, mrb_value err);
......
......@@ -526,11 +526,6 @@ mrb_hash_delete(mrb_state *mrb, mrb_value self)
mrb_get_args(mrb, "o", &key);
return mrb_hash_delete_key(mrb, self, key);
}
struct shift_var {
mrb_value key;
mrb_value val;
};
/* 15.2.13.4.24 */
/*
......
......@@ -26,12 +26,6 @@ typedef enum {
NOEX_RESPONDS = 0x80
} mrb_method_flag_t;
struct obj_ivar_tag {
mrb_value obj;
int (*func)(mrb_sym key, mrb_value val, void * arg);
void * arg;
};
int
mrb_obj_basic_to_s_p(mrb_state *mrb, mrb_value obj)
{
......
......@@ -20,8 +20,7 @@ typedef int (iv_foreach_func)(mrb_state*,mrb_sym,mrb_value,void*);
#define MRB_SEGMENT_SIZE 4
#endif
typedef struct segment
{
typedef struct segment {
mrb_sym key[MRB_SEGMENT_SIZE];
mrb_value val[MRB_SEGMENT_SIZE];
struct segment *next;
......
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