Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
c0e1fc93
Commit
c0e1fc93
authored
Feb 28, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #918 from monaka/pr-remove-unused-struct-and-more
Remove unused struct and more
parents
778dbddb
0b7b3f9d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
25 deletions
+1
-25
src/class.c
src/class.c
+0
-8
src/error.h
src/error.h
+0
-4
src/hash.c
src/hash.c
+0
-5
src/kernel.c
src/kernel.c
+0
-6
src/variable.c
src/variable.c
+1
-2
No files found.
src/class.c
View file @
c0e1fc93
...
...
@@ -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
)
{
...
...
src/error.h
View file @
c0e1fc93
...
...
@@ -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
);
...
...
src/hash.c
View file @
c0e1fc93
...
...
@@ -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 */
/*
...
...
src/kernel.c
View file @
c0e1fc93
...
...
@@ -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
)
{
...
...
src/variable.c
View file @
c0e1fc93
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment