Skip to content

Commit 06a765a

Browse files
committed
Change MRuby to mruby
1 parent 5956496 commit 06a765a

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ unless there's a clear reason, e.g. the latest Ruby has changed behavior from IS
113113
### mruby API
114114
115115
- [YARD](https://yardoc.org/) - YARD is a documentation generation tool for the Ruby programming language
116-
- [yard-mruby](https://rubygems.org/gems/yard-mruby) - Document MRuby sources with YARD
116+
- [yard-mruby](https://rubygems.org/gems/yard-mruby) - Document mruby sources with YARD
117117
- [yard-coderay](https://rubygems.org/gems/yard-coderay) - Adds coderay syntax highlighting to YARD docs
118118
119119
### C API

include/mruby.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
#endif
140140

141141
/**
142-
* MRuby C API entry point
142+
* mruby C API entry point
143143
*/
144144
MRB_BEGIN_DECL
145145

@@ -420,7 +420,7 @@ MRB_API void mrb_prepend_module(mrb_state *mrb, struct RClass *cla, struct RClas
420420
* mrb_define_method(mrb, mrb->kernel_module, "example_method", example_method, MRB_ARGS_NONE());
421421
* }
422422
*
423-
* @param mrb The MRuby state reference.
423+
* @param mrb The mruby state reference.
424424
* @param cla The class pointer where the method will be defined.
425425
* @param name The name of the method being defined.
426426
* @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,
448448
* foo = mrb_define_class(mrb, "Foo", mrb->object_class);
449449
* mrb_define_class_method(mrb, foo, "bar", bar_method, MRB_ARGS_NONE());
450450
* }
451-
* @param mrb The MRuby state reference.
451+
* @param mrb The mruby state reference.
452452
* @param cla The class where the class method will be defined.
453453
* @param name The name of the class method being defined.
454454
* @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,
484484
* foo = mrb_define_module(mrb, "Foo");
485485
* mrb_define_module_function(mrb, foo, "bar", bar_method, MRB_ARGS_NONE());
486486
* }
487-
* @param mrb The MRuby state reference.
487+
* @param mrb The mruby state reference.
488488
* @param cla The module where the module function will be defined.
489489
* @param name The name of the module function being defined.
490490
* @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
514514
* mrb_value
515515
* mrb_example_gem_final(mrb_state* mrb){
516516
* }
517-
* @param mrb The MRuby state reference.
517+
* @param mrb The mruby state reference.
518518
* @param cla A class or module the constant is defined in.
519519
* @param name The name of the constant being defined.
520520
* @param val The value for the constant.
@@ -1017,7 +1017,7 @@ struct mrb_kwargs
10171017
/**
10181018
* Retrieve arguments from mrb_state.
10191019
*
1020-
* @param mrb The current MRuby state.
1020+
* @param mrb The current mruby state.
10211021
* @param format is a list of format specifiers
10221022
* @param ... The passing variadic arguments must be a pointer of retrieving type.
10231023
* @return the number of arguments retrieved.
@@ -1248,7 +1248,7 @@ MRB_API mrb_state* mrb_open(void);
12481248
MRB_API mrb_state* mrb_open_allocf(mrb_allocf f, void *ud);
12491249

12501250
/**
1251-
* Create new mrb_state with just the MRuby core
1251+
* Create new mrb_state with just the mruby core
12521252
*
12531253
* @param f
12541254
* Reference to the allocation function.

include/mruby/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ MRB_BEGIN_DECL
6767
#endif
6868
#define MRB_INLINE static inline
6969

70-
/** Declare a public MRuby API function. */
70+
/** Declare a public mruby API function. */
7171
#ifndef MRB_API
7272
#if defined(MRB_BUILD_AS_DLL)
7373
#if defined(MRB_CORE) || defined(MRB_LIB)

include/mruby/compile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "common.h"
1111

1212
/**
13-
* MRuby Compiler
13+
* mruby Compiler
1414
*/
1515
MRB_BEGIN_DECL
1616

include/mruby/debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "common.h"
1111

1212
/**
13-
* MRuby Debugging.
13+
* mruby Debugging.
1414
*/
1515
MRB_BEGIN_DECL
1616

include/mruby/error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "common.h"
1111

1212
/**
13-
* MRuby error handling.
13+
* mruby error handling.
1414
*/
1515
MRB_BEGIN_DECL
1616

include/mruby/value.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "common.h"
1111

1212
/*
13-
* MRuby Value definition functions and macros.
13+
* mruby Value definition functions and macros.
1414
*/
1515
MRB_BEGIN_DECL
1616

@@ -186,7 +186,7 @@ MRB_VTYPE_FOREACH(MRB_VTYPE_TYPEDEF)
186186

187187
/**
188188
* @abstract
189-
* MRuby value boxing.
189+
* mruby value boxing.
190190
*
191191
* Actual implementation depends on configured boxing type.
192192
*

0 commit comments

Comments
 (0)