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
3cbae535
Commit
3cbae535
authored
May 20, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move prototype of mrb_format() from error.h to mruby.h; ref #2274
parent
7195600d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
include/mruby.h
include/mruby.h
+2
-0
include/mruby/error.h
include/mruby/error.h
+0
-1
No files found.
include/mruby.h
View file @
3cbae535
...
@@ -422,6 +422,8 @@ void* mrb_alloca(mrb_state *mrb, size_t);
...
@@ -422,6 +422,8 @@ void* mrb_alloca(mrb_state *mrb, size_t);
#define mrb_assert_int_fit(t1,n,t2,max) ((void)0)
#define mrb_assert_int_fit(t1,n,t2,max) ((void)0)
#endif
#endif
mrb_value
mrb_format
(
mrb_state
*
mrb
,
const
char
*
format
,
...);
#if defined(__cplusplus)
#if defined(__cplusplus)
}
/* extern "C" { */
}
/* extern "C" { */
#endif
#endif
...
...
include/mruby/error.h
View file @
3cbae535
...
@@ -15,7 +15,6 @@ void mrb_sys_fail(mrb_state *mrb, const char *mesg);
...
@@ -15,7 +15,6 @@ void mrb_sys_fail(mrb_state *mrb, const char *mesg);
mrb_value
mrb_exc_new_str
(
mrb_state
*
mrb
,
struct
RClass
*
c
,
mrb_value
str
);
mrb_value
mrb_exc_new_str
(
mrb_state
*
mrb
,
struct
RClass
*
c
,
mrb_value
str
);
#define mrb_exc_new_str_lit(mrb, c, lit) mrb_exc_new_str(mrb, c, mrb_str_new_lit(mrb, lit))
#define mrb_exc_new_str_lit(mrb, c, lit) mrb_exc_new_str(mrb, c, mrb_str_new_lit(mrb, lit))
mrb_value
mrb_make_exception
(
mrb_state
*
mrb
,
int
argc
,
const
mrb_value
*
argv
);
mrb_value
mrb_make_exception
(
mrb_state
*
mrb
,
int
argc
,
const
mrb_value
*
argv
);
mrb_value
mrb_format
(
mrb_state
*
mrb
,
const
char
*
format
,
...);
void
mrb_exc_print
(
mrb_state
*
mrb
,
struct
RObject
*
exc
);
void
mrb_exc_print
(
mrb_state
*
mrb
,
struct
RObject
*
exc
);
void
mrb_print_backtrace
(
mrb_state
*
mrb
);
void
mrb_print_backtrace
(
mrb_state
*
mrb
);
mrb_value
mrb_exc_backtrace
(
mrb_state
*
mrb
,
mrb_value
exc
);
mrb_value
mrb_exc_backtrace
(
mrb_state
*
mrb
,
mrb_value
exc
);
...
...
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