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
da9b9c54
Commit
da9b9c54
authored
Mar 01, 2013
by
Masaki Muranaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused structures.
parent
028ac46d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
23 deletions
+0
-23
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
No files found.
src/class.c
View file @
da9b9c54
...
@@ -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
)
{
{
...
...
src/error.h
View file @
da9b9c54
...
@@ -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
);
...
...
src/hash.c
View file @
da9b9c54
...
@@ -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 */
/*
/*
...
...
src/kernel.c
View file @
da9b9c54
...
@@ -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
)
{
{
...
...
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