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
ae6114c5
Commit
ae6114c5
authored
Apr 26, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1216 from monaka/pr-code-cleanup-20130426
Code clean-up
parents
478f5c6b
16be58ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
include/mruby.h
include/mruby.h
+0
-7
src/load.c
src/load.c
+1
-1
src/pool.c
src/pool.c
+1
-1
No files found.
include/mruby.h
View file @
ae6114c5
...
...
@@ -340,13 +340,6 @@ typedef enum call_type {
CALL_TYPE_MAX
}
call_type
;
#ifndef ANYARGS
# ifdef __cplusplus
# define ANYARGS ...
# else
# define ANYARGS
# endif
#endif
void
mrb_define_alias
(
mrb_state
*
mrb
,
struct
RClass
*
klass
,
const
char
*
name1
,
const
char
*
name2
);
const
char
*
mrb_class_name
(
mrb_state
*
mrb
,
struct
RClass
*
klass
);
void
mrb_define_global_const
(
mrb_state
*
mrb
,
const
char
*
name
,
mrb_value
val
);
...
...
src/load.c
View file @
ae6114c5
...
...
@@ -55,7 +55,7 @@ irep_free(size_t sirep, mrb_state *mrb)
}
static
size_t
offset_crc_body
()
offset_crc_body
(
void
)
{
struct
rite_binary_header
header
;
return
((
uint8_t
*
)
header
.
binary_crc
-
(
uint8_t
*
)
&
header
)
+
sizeof
(
header
.
binary_crc
);
...
...
src/pool.c
View file @
ae6114c5
...
...
@@ -171,7 +171,7 @@ mrb_pool_realloc(mrb_pool *pool, void *p, size_t oldlen, size_t newlen)
#ifdef TEST_POOL
int
main
()
main
(
void
)
{
int
i
,
len
=
250
;
mrb_pool
*
pool
;
...
...
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