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
34073769
Commit
34073769
authored
May 16, 2012
by
Masaki Muranaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused static functions.
parent
c6f0e296
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
31 deletions
+0
-31
src/encoding.c
src/encoding.c
+0
-6
src/error.c
src/error.c
+0
-23
src/struct.c
src/struct.c
+0
-2
No files found.
src/encoding.c
View file @
34073769
...
@@ -84,12 +84,6 @@ enum {
...
@@ -84,12 +84,6 @@ enum {
#define mrb_usascii_str_new2 mrb_usascii_str_new_cstr
#define mrb_usascii_str_new2 mrb_usascii_str_new_cstr
static
size_t
enc_memsize
(
mrb_state
*
mrb
,
const
void
*
p
)
{
return
0
;
}
static
const
struct
mrb_data_type
encoding_data_type
=
{
static
const
struct
mrb_data_type
encoding_data_type
=
{
"encoding"
,
0
,
"encoding"
,
0
,
};
};
...
...
src/error.c
View file @
34073769
...
@@ -404,29 +404,6 @@ mrb_sys_fail(mrb_state *mrb, const char *mesg)
...
@@ -404,29 +404,6 @@ mrb_sys_fail(mrb_state *mrb, const char *mesg)
mrb_raise
(
mrb
,
mrb
->
eRuntimeError_class
,
"%s"
,
mesg
);
mrb_raise
(
mrb
,
mrb
->
eRuntimeError_class
,
"%s"
,
mesg
);
}
}
static
mrb_value
mrb_exc_c_exception
(
mrb_state
*
mrb
,
mrb_value
exc
)
{
mrb_value
*
argv
;
int
argc
;
mrb_get_args
(
mrb
,
"*"
,
&
argv
,
&
argc
);
return
mrb_make_exception
(
mrb
,
argc
,
argv
);
}
static
mrb_value
mrb_exc_exception
(
mrb_state
*
mrb
,
mrb_value
exc
)
{
mrb_value
*
argv
;
int
argc
;
mrb_value
exclass
;
mrb_get_args
(
mrb
,
"*"
,
&
argv
,
&
argc
);
if
(
argc
==
0
)
return
exc
;
exclass
=
mrb_obj_value
(
mrb_class
(
mrb
,
exc
));
return
mrb_funcall
(
mrb
,
exclass
,
"exception"
,
argc
,
argv
);
}
void
void
mrb_init_exception
(
mrb_state
*
mrb
)
mrb_init_exception
(
mrb_state
*
mrb
)
{
{
...
...
src/struct.c
View file @
34073769
...
@@ -31,8 +31,6 @@ mrb_value mrb_exec_recursive_paired(mrb_state *mrb, mrb_value (*func) (mrb_state
...
@@ -31,8 +31,6 @@ mrb_value mrb_exec_recursive_paired(mrb_state *mrb, mrb_value (*func) (mrb_state
#define mrb_long2int(n) ((int)(n))
#define mrb_long2int(n) ((int)(n))
static
mrb_value
struct_alloc
(
mrb_state
*
mrb
,
mrb_value
);
static
struct
RClass
*
static
struct
RClass
*
struct_class
(
mrb_state
*
mrb
)
struct_class
(
mrb_state
*
mrb
)
{
{
...
...
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