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
554406b9
Commit
554406b9
authored
Sep 28, 2015
by
Seba Gamboa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing @see tag
parent
76f24d21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
include/mruby.h
include/mruby.h
+5
-5
No files found.
include/mruby.h
View file @
554406b9
...
@@ -279,12 +279,12 @@ MRB_API void mrb_undef_class_method(mrb_state*, struct RClass*, const char*);
...
@@ -279,12 +279,12 @@ MRB_API void mrb_undef_class_method(mrb_state*, struct RClass*, const char*);
* Number of arguments in argv
* Number of arguments in argv
* @param argv
* @param argv
* Array of @ref mrb_value "mrb_values" to initialize the object
* Array of @ref mrb_value "mrb_values" to initialize the object
* @return
s
* @return
* The newly initialized object
* The newly initialized object
*/
*/
MRB_API
mrb_value
mrb_obj_new
(
mrb_state
*
mrb
,
struct
RClass
*
c
,
mrb_int
argc
,
const
mrb_value
*
argv
);
MRB_API
mrb_value
mrb_obj_new
(
mrb_state
*
mrb
,
struct
RClass
*
c
,
mrb_int
argc
,
const
mrb_value
*
argv
);
/**
See @ref
mrb_obj_new */
/**
@see
mrb_obj_new */
MRB_INLINE
mrb_value
mrb_class_new_instance
(
mrb_state
*
mrb
,
mrb_int
argc
,
const
mrb_value
*
argv
,
struct
RClass
*
c
)
MRB_INLINE
mrb_value
mrb_class_new_instance
(
mrb_state
*
mrb
,
mrb_int
argc
,
const
mrb_value
*
argv
,
struct
RClass
*
c
)
{
{
return
mrb_obj_new
(
mrb
,
c
,
argc
,
argv
);
return
mrb_obj_new
(
mrb
,
c
,
argc
,
argv
);
...
@@ -469,7 +469,7 @@ char* mrb_locale_from_utf8(const char *p, size_t len);
...
@@ -469,7 +469,7 @@ char* mrb_locale_from_utf8(const char *p, size_t len);
/**
/**
* Creates new mrb_state.
* Creates new mrb_state.
*
*
* @return
s
* @return
* Pointer to the newly created mrb_state.
* Pointer to the newly created mrb_state.
*/
*/
MRB_API
mrb_state
*
mrb_open
(
void
);
MRB_API
mrb_state
*
mrb_open
(
void
);
...
@@ -482,7 +482,7 @@ MRB_API mrb_state* mrb_open(void);
...
@@ -482,7 +482,7 @@ MRB_API mrb_state* mrb_open(void);
* @param ud
* @param ud
* User data will be passed to custom allocator f.
* User data will be passed to custom allocator f.
* If user data isn't required just pass NULL.
* If user data isn't required just pass NULL.
* @return
s
* @return
* Pointer to the newly created mrb_state.
* Pointer to the newly created mrb_state.
*/
*/
MRB_API
mrb_state
*
mrb_open_allocf
(
mrb_allocf
f
,
void
*
ud
);
MRB_API
mrb_state
*
mrb_open_allocf
(
mrb_allocf
f
,
void
*
ud
);
...
@@ -496,7 +496,7 @@ MRB_API mrb_state* mrb_open_allocf(mrb_allocf f, void *ud);
...
@@ -496,7 +496,7 @@ MRB_API mrb_state* mrb_open_allocf(mrb_allocf f, void *ud);
* @param ud
* @param ud
* User data will be passed to custom allocator f.
* User data will be passed to custom allocator f.
* If user data isn't required just pass NULL.
* If user data isn't required just pass NULL.
* @return
s
* @return
* Pointer to the newly created mrb_state.
* Pointer to the newly created mrb_state.
*/
*/
MRB_API
mrb_state
*
mrb_open_core
(
mrb_allocf
f
,
void
*
ud
);
MRB_API
mrb_state
*
mrb_open_core
(
mrb_allocf
f
,
void
*
ud
);
...
...
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