mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Change MRuby to mruby
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ unless there's a clear reason, e.g. the latest Ruby has changed behavior from IS
|
||||
### mruby API
|
||||
|
||||
- [YARD](https://yardoc.org/) - YARD is a documentation generation tool for the Ruby programming language
|
||||
- [yard-mruby](https://rubygems.org/gems/yard-mruby) - Document MRuby sources with YARD
|
||||
- [yard-mruby](https://rubygems.org/gems/yard-mruby) - Document mruby sources with YARD
|
||||
- [yard-coderay](https://rubygems.org/gems/yard-coderay) - Adds coderay syntax highlighting to YARD docs
|
||||
|
||||
### C API
|
||||
|
||||
+7
-7
@@ -139,7 +139,7 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MRuby C API entry point
|
||||
* mruby C API entry point
|
||||
*/
|
||||
MRB_BEGIN_DECL
|
||||
|
||||
@@ -420,7 +420,7 @@ MRB_API void mrb_prepend_module(mrb_state *mrb, struct RClass *cla, struct RClas
|
||||
* mrb_define_method(mrb, mrb->kernel_module, "example_method", example_method, MRB_ARGS_NONE());
|
||||
* }
|
||||
*
|
||||
* @param mrb The MRuby state reference.
|
||||
* @param mrb The mruby state reference.
|
||||
* @param cla The class pointer where the method will be defined.
|
||||
* @param name The name of the method being defined.
|
||||
* @param func The function pointer to the method definition.
|
||||
@@ -448,7 +448,7 @@ MRB_API void mrb_define_method_id(mrb_state *mrb, struct RClass *c, mrb_sym mid,
|
||||
* foo = mrb_define_class(mrb, "Foo", mrb->object_class);
|
||||
* mrb_define_class_method(mrb, foo, "bar", bar_method, MRB_ARGS_NONE());
|
||||
* }
|
||||
* @param mrb The MRuby state reference.
|
||||
* @param mrb The mruby state reference.
|
||||
* @param cla The class where the class method will be defined.
|
||||
* @param name The name of the class method being defined.
|
||||
* @param fun The function pointer to the class method definition.
|
||||
@@ -484,7 +484,7 @@ MRB_API void mrb_define_singleton_method_id(mrb_state *mrb, struct RObject *cla,
|
||||
* foo = mrb_define_module(mrb, "Foo");
|
||||
* mrb_define_module_function(mrb, foo, "bar", bar_method, MRB_ARGS_NONE());
|
||||
* }
|
||||
* @param mrb The MRuby state reference.
|
||||
* @param mrb The mruby state reference.
|
||||
* @param cla The module where the module function will be defined.
|
||||
* @param name The name of the module function being defined.
|
||||
* @param fun The function pointer to the module function definition.
|
||||
@@ -514,7 +514,7 @@ MRB_API void mrb_define_module_function_id(mrb_state *mrb, struct RClass *cla, m
|
||||
* mrb_value
|
||||
* mrb_example_gem_final(mrb_state* mrb){
|
||||
* }
|
||||
* @param mrb The MRuby state reference.
|
||||
* @param mrb The mruby state reference.
|
||||
* @param cla A class or module the constant is defined in.
|
||||
* @param name The name of the constant being defined.
|
||||
* @param val The value for the constant.
|
||||
@@ -1017,7 +1017,7 @@ struct mrb_kwargs
|
||||
/**
|
||||
* Retrieve arguments from mrb_state.
|
||||
*
|
||||
* @param mrb The current MRuby state.
|
||||
* @param mrb The current mruby state.
|
||||
* @param format is a list of format specifiers
|
||||
* @param ... The passing variadic arguments must be a pointer of retrieving type.
|
||||
* @return the number of arguments retrieved.
|
||||
@@ -1248,7 +1248,7 @@ MRB_API mrb_state* mrb_open(void);
|
||||
MRB_API mrb_state* mrb_open_allocf(mrb_allocf f, void *ud);
|
||||
|
||||
/**
|
||||
* Create new mrb_state with just the MRuby core
|
||||
* Create new mrb_state with just the mruby core
|
||||
*
|
||||
* @param f
|
||||
* Reference to the allocation function.
|
||||
|
||||
@@ -67,7 +67,7 @@ MRB_BEGIN_DECL
|
||||
#endif
|
||||
#define MRB_INLINE static inline
|
||||
|
||||
/** Declare a public MRuby API function. */
|
||||
/** Declare a public mruby API function. */
|
||||
#ifndef MRB_API
|
||||
#if defined(MRB_BUILD_AS_DLL)
|
||||
#if defined(MRB_CORE) || defined(MRB_LIB)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "common.h"
|
||||
|
||||
/**
|
||||
* MRuby Compiler
|
||||
* mruby Compiler
|
||||
*/
|
||||
MRB_BEGIN_DECL
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "common.h"
|
||||
|
||||
/**
|
||||
* MRuby Debugging.
|
||||
* mruby Debugging.
|
||||
*/
|
||||
MRB_BEGIN_DECL
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "common.h"
|
||||
|
||||
/**
|
||||
* MRuby error handling.
|
||||
* mruby error handling.
|
||||
*/
|
||||
MRB_BEGIN_DECL
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "common.h"
|
||||
|
||||
/*
|
||||
* MRuby Value definition functions and macros.
|
||||
* mruby Value definition functions and macros.
|
||||
*/
|
||||
MRB_BEGIN_DECL
|
||||
|
||||
@@ -186,7 +186,7 @@ MRB_VTYPE_FOREACH(MRB_VTYPE_TYPEDEF)
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* MRuby value boxing.
|
||||
* mruby value boxing.
|
||||
*
|
||||
* Actual implementation depends on configured boxing type.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user