Expand description
Rust bindings for mruby, customized for Artichoke.
Bindings are based on the vendored mruby sources and generated with bindgen.
Modules§
- specifiers
- Format specifiers for
mrb_get_args
function.
Structs§
- RArray
- RArray__
bindgen_ ty_ 1__ bindgen_ ty_ 1 - RBasic
- RClass
- RData
- REnv
- RFiber
- RHash
- RObject
- RProc
- RRange
- RString
- RString__
bindgen_ ty_ 1__ bindgen_ ty_ 1 - __
Bindgen Bitfield Unit - __
jmp_ buf_ tag - __
sigset_ t - __
va_ list_ tag - hash_
entry - hash_
table - iv_tbl
- mrb_
ast_ node - mrb_
cache_ entry - mrb_
callinfo - mrb_
context - mrb_
data_ type - mrb_gc
- mrb_
heap_ page - mrb_
insn_ data - mrb_
irep - mrb_
irep_ catch_ handler - mrb_
irep_ debug_ info - mrb_
jmpbuf - mrb_
kwargs - mrb_
parser_ heredoc_ info - mrb_
parser_ message - mrb_
parser_ state - mrb_
pool - mrb_
pool_ value - mrb_
range_ edges - mrb_
shared_ array - mrb_
shared_ string - mrb_
state - mrb_
value - mrbc_
context - mt_tbl
- parser_
lex_ strterm
Enums§
- mrb_
catch_ type - mrb_
fiber_ state - mrb_
gc_ state - mrb_
insn - mrb_
lex_ state_ enum - mrb_
range_ beg_ len - mrb_
string_ type - mrb_
vtype
Constants§
- MRB_
ARY_ EMBED_ LEN_ MAX - MRB_
ARY_ SHARED - MRB_
DUMP_ DEBUG_ INFO - MRB_
DUMP_ DEFAULT_ STR_ LEN - MRB_
DUMP_ GENERAL_ FAILURE - MRB_
DUMP_ INVALID_ ARGUMENT - MRB_
DUMP_ INVALID_ FILE_ HEADER - MRB_
DUMP_ INVALID_ IREP - MRB_
DUMP_ NULL_ SYM_ LEN - MRB_
DUMP_ OK - MRB_
DUMP_ READ_ FAULT - MRB_
DUMP_ STATIC - MRB_
DUMP_ WRITE_ FAULT - MRB_
EACH_ OBJ_ BREAK - MRB_
EACH_ OBJ_ OK - MRB_
ENV_ CLOSED - MRB_
EXC_ EXIT - MRB_
FIXED_ STATE_ ATEXIT_ STACK_ SIZE - MRB_
FIXNUM_ SHIFT - MRB_
FL_ CLASS_ IS_ INHERITED - MRB_
FL_ CLASS_ IS_ ORIGIN - MRB_
FL_ CLASS_ IS_ PREPENDED - MRB_
FL_ OBJ_ IS_ FROZEN - MRB_
GC_ ARENA_ SIZE - MRB_
GC_ RED - MRB_
HASH_ AR_ EA_ CAPA_ BIT - MRB_
HASH_ AR_ EA_ CAPA_ MASK - MRB_
HASH_ AR_ EA_ CAPA_ SHIFT - MRB_
HASH_ AR_ EA_ N_ USED_ MASK - MRB_
HASH_ AR_ EA_ N_ USED_ SHIFT - MRB_
HASH_ DEFAULT - MRB_
HASH_ HT - MRB_
HASH_ IB_ BIT_ BIT - MRB_
HASH_ IB_ BIT_ MASK - MRB_
HASH_ IB_ BIT_ SHIFT - MRB_
HASH_ PROC_ DEFAULT - MRB_
HASH_ SIZE_ FLAGS_ SHIFT - MRB_
INSTANCE_ TT_ MASK - MRB_
INT_ BIT - MRB_
IREP_ NO_ FREE - MRB_
IREP_ STATIC - MRB_
ISEQ_ NO_ FREE - MRB_
METHOD_ CACHE_ SIZE - MRB_
METHOD_ FUNC_ FL - MRB_
METHOD_ NOARG_ FL - MRB_
PARSER_ TOKBUF_ MAX - MRB_
PARSER_ TOKBUF_ SIZE - MRB_
PRId - MRB_
PRIo - MRB_
PRIx - MRB_
PROC_ CFUNC_ FL - MRB_
PROC_ ENVSET - MRB_
PROC_ NOARG - MRB_
PROC_ ORPHAN - MRB_
PROC_ SCOPE - MRB_
PROC_ STRICT - MRB_
STR_ ASCII - MRB_
STR_ EMBED - MRB_
STR_ EMBED_ LEN_ BIT - MRB_
STR_ EMBED_ LEN_ MASK - MRB_
STR_ EMBED_ LEN_ SHIFT - MRB_
STR_ FSHARED - MRB_
STR_ NOFREE - MRB_
STR_ SHARED - MRB_
STR_ TYPE_ MASK - MRB_
SYMBOL_ SHIFT - MRUBY_
AUTHOR - MRUBY_
BIRTH_ YEAR - MRUBY_
PATCHLEVEL - MRUBY_
PATCHLEVEL_ STR - MRUBY_
RELEASE_ DAY - MRUBY_
RELEASE_ MAJOR - MRUBY_
RELEASE_ MINOR - MRUBY_
RELEASE_ MONTH - MRUBY_
RELEASE_ NO - MRUBY_
RELEASE_ TEENY - MRUBY_
RELEASE_ YEAR - MRUBY_
RUBY_ ENGINE - MRUBY_
RUBY_ VERSION
Statics§
Functions§
- mrb_
add_ ⚠irep - mrb_
alias_ ⚠method - mrb_
alloca ⚠ - mrb_
any_ ⚠to_ s - mrb_
argnum_ ⚠error - mrb_
args_ any - Function accepts any number of arguments
- mrb_
args_ block - Function takes a block argument
- mrb_
args_ key - keyword arguments (
n
of keys,kdict
) - mrb_
args_ none - Function accepts no arguments
- mrb_
args_ opt - Function takes
n
optional arguments - mrb_
args_ post - required arguments after rest
- mrb_
args_ req - Function requires n arguments.
- mrb_
args_ req_ and_ opt - Function takes
n1
mandatory arguments andn2
optional arguments - mrb_
args_ rest - rest argument
- mrb_
ary_ ⚠artichoke_ free - mrb_
ary_ ⚠clear - mrb_
ary_ ⚠concat - mrb_
ary_ ⚠entry - mrb_
ary_ ⚠join - mrb_
ary_ ⚠modify - mrb_
ary_ ⚠new - mrb_
ary_ ⚠new_ capa - mrb_
ary_ ⚠new_ from_ values - mrb_
ary_ ⚠pop - mrb_
ary_ ⚠push - mrb_
ary_ ⚠replace - mrb_
ary_ ⚠resize - mrb_
ary_ ⚠set - mrb_
ary_ ⚠shift - mrb_
ary_ ⚠splat - mrb_
ary_ ⚠splice - mrb_
ary_ ⚠unshift - mrb_
assoc_ ⚠new - mrb_
attr_ ⚠get - mrb_
block_ ⚠given_ p - mrb_bug⚠
- mrb_
calloc ⚠ - mrb_
check_ ⚠array_ type - mrb_
check_ ⚠hash_ type - mrb_
check_ ⚠intern - mrb_
check_ ⚠intern_ cstr - mrb_
check_ ⚠intern_ str - mrb_
check_ ⚠string_ type - mrb_
check_ ⚠type - mrb_
class_ ⚠defined - mrb_
class_ ⚠defined_ id - mrb_
class_ ⚠defined_ under - mrb_
class_ ⚠defined_ under_ id - mrb_
class_ ⚠get - mrb_
class_ ⚠get_ id - mrb_
class_ ⚠get_ under - mrb_
class_ ⚠get_ under_ id - mrb_
class_ ⚠name - mrb_
class_ ⚠new - mrb_
class_ ⚠path - mrb_
class_ ⚠real - mrb_
close ⚠ - mrb_
closure_ ⚠new_ cfunc - mrb_cmp⚠
- mrb_
const_ ⚠defined - mrb_
const_ ⚠defined_ at - mrb_
const_ ⚠get - mrb_
const_ ⚠remove - mrb_
const_ ⚠set - mrb_
cv_ ⚠defined - mrb_
cv_ ⚠get - mrb_
cv_ ⚠set - mrb_
data_ ⚠check_ get_ ptr - mrb_
data_ ⚠check_ type - mrb_
data_ ⚠get_ ptr - mrb_
data_ ⚠object_ alloc - mrb_
default_ ⚠allocf - mrb_
define_ ⚠alias - mrb_
define_ ⚠alias_ id - mrb_
define_ ⚠class - mrb_
define_ ⚠class_ id - mrb_
define_ ⚠class_ method - mrb_
define_ ⚠class_ method_ id - mrb_
define_ ⚠class_ under - mrb_
define_ ⚠class_ under_ id - mrb_
define_ ⚠const - mrb_
define_ ⚠const_ id - mrb_
define_ ⚠global_ const - mrb_
define_ ⚠method - mrb_
define_ ⚠method_ id - mrb_
define_ ⚠method_ raw - mrb_
define_ ⚠module - mrb_
define_ ⚠module_ function - mrb_
define_ ⚠module_ function_ id - mrb_
define_ ⚠module_ id - mrb_
define_ ⚠module_ under - mrb_
define_ ⚠module_ under_ id - mrb_
define_ ⚠singleton_ method - mrb_
define_ ⚠singleton_ method_ id - mrb_
div_ ⚠float - mrb_
ensure ⚠ - mrb_
ensure_ ⚠array_ type - mrb_
ensure_ ⚠float_ type - mrb_
ensure_ ⚠hash_ type - mrb_
ensure_ ⚠int_ type - mrb_
ensure_ ⚠integer_ type - mrb_
ensure_ ⚠string_ type - mrb_
env_ ⚠unshare - mrb_eql⚠
- mrb_
equal ⚠ - mrb_
exc_ ⚠get_ id - mrb_
exc_ ⚠new - mrb_
exc_ ⚠new_ str - mrb_
exc_ ⚠raise - mrb_
f_ ⚠raise - mrb_
fiber_ ⚠alive_ p - mrb_
fiber_ ⚠resume - mrb_
fiber_ ⚠yield - mrb_
field_ ⚠write_ barrier - mrb_
float_ ⚠read - mrb_
float_ ⚠to_ integer - mrb_
float_ ⚠to_ str - mrb_
format ⚠ - mrb_
format_ ⚠float - mrb_
free ⚠ - mrb_
free_ ⚠context - mrb_
frozen_ ⚠error - mrb_
full_ ⚠gc - mrb_
func_ ⚠basic_ p - mrb_
funcall ⚠ - mrb_
funcall_ ⚠argv - mrb_
funcall_ ⚠id - mrb_
funcall_ ⚠with_ block - mrb_
garbage_ ⚠collect - mrb_
gc_ ⚠mark - mrb_
gc_ ⚠protect - mrb_
gc_ ⚠register - mrb_
gc_ ⚠unregister - mrb_
generate_ ⚠code - mrb_
get_ ⚠arg1 - mrb_
get_ ⚠argc - mrb_
get_ ⚠args - mrb_
get_ ⚠args_ a - mrb_
get_ ⚠argv - mrb_
gv_ ⚠get - mrb_
gv_ ⚠remove - mrb_
gv_ ⚠set - mrb_
hash_ ⚠clear - mrb_
hash_ ⚠delete_ key - mrb_
hash_ ⚠dup - mrb_
hash_ ⚠empty_ p - mrb_
hash_ ⚠fetch - mrb_
hash_ ⚠foreach - mrb_
hash_ ⚠get - mrb_
hash_ ⚠key_ p - mrb_
hash_ ⚠keys - mrb_
hash_ ⚠merge - mrb_
hash_ ⚠new - mrb_
hash_ ⚠new_ capa - mrb_
hash_ ⚠set - mrb_
hash_ ⚠size - mrb_
hash_ ⚠values - mrb_
include_ ⚠module - mrb_
incremental_ ⚠gc - mrb_
init_ ⚠mrbgems - mrb_
inspect ⚠ - mrb_
int_ ⚠read - mrb_
int_ ⚠to_ cstr - mrb_
integer_ ⚠to_ str - mrb_
intern ⚠ - mrb_
intern_ ⚠check - mrb_
intern_ ⚠check_ cstr - mrb_
intern_ ⚠check_ str - mrb_
intern_ ⚠cstr - mrb_
intern_ ⚠static - mrb_
intern_ ⚠str - mrb_
irep_ ⚠cutref - mrb_
irep_ ⚠decref - mrb_
irep_ ⚠incref - mrb_
iv_ ⚠copy - mrb_
iv_ ⚠defined - mrb_
iv_ ⚠foreach - mrb_
iv_ ⚠get - mrb_
iv_ ⚠name_ sym_ check - mrb_
iv_ ⚠name_ sym_ p - mrb_
iv_ ⚠remove - mrb_
iv_ ⚠set - mrb_
load_ ⚠exec - mrb_
load_ ⚠irep - mrb_
load_ ⚠irep_ buf - mrb_
load_ ⚠irep_ buf_ cxt - mrb_
load_ ⚠irep_ cxt - mrb_
load_ ⚠nstring - mrb_
load_ ⚠nstring_ cxt - mrb_
load_ ⚠proc - mrb_
load_ ⚠string - mrb_
load_ ⚠string_ cxt - mrb_
make_ ⚠exception - mrb_
malloc ⚠ - mrb_
malloc_ ⚠simple - mrb_
mc_ ⚠clear_ by_ class - mrb_
method_ ⚠search - mrb_
method_ ⚠search_ vm - mrb_
mod_ ⚠cv_ set - mrb_
module_ ⚠get - mrb_
module_ ⚠get_ id - mrb_
module_ ⚠get_ under - mrb_
module_ ⚠get_ under_ id - mrb_
module_ ⚠new - mrb_
mt_ ⚠foreach - mrb_
name_ ⚠error - mrb_
no_ ⚠method_ error - mrb_
notimplement ⚠ - mrb_
notimplement_ ⚠m - mrb_
num_ ⚠add - mrb_
num_ ⚠mul - mrb_
num_ ⚠sub - mrb_
obj_ ⚠alloc - mrb_
obj_ ⚠as_ string - mrb_
obj_ ⚠class - mrb_
obj_ ⚠classname - mrb_
obj_ ⚠clone - mrb_
obj_ ⚠dup - mrb_
obj_ ⚠eq - mrb_
obj_ ⚠equal - mrb_
obj_ ⚠freeze - mrb_
obj_ ⚠id - mrb_
obj_ ⚠inspect - mrb_
obj_ ⚠is_ instance_ of - mrb_
obj_ ⚠is_ kind_ of - mrb_
obj_ ⚠iv_ defined - mrb_
obj_ ⚠iv_ get - mrb_
obj_ ⚠iv_ set - mrb_
obj_ ⚠new - mrb_
obj_ ⚠respond_ to - mrb_
obj_ ⚠to_ sym - mrb_
object_ ⚠dead_ p - mrb_
objspace_ ⚠each_ objects - mrb_
objspace_ ⚠page_ slot_ size - mrb_
open ⚠ - mrb_
open_ ⚠allocf - mrb_
open_ ⚠core - mrb_p⚠
- mrb_
parse_ ⚠nstring - mrb_
parse_ ⚠string - mrb_
parser_ ⚠free - mrb_
parser_ ⚠get_ filename - mrb_
parser_ ⚠new - mrb_
parser_ ⚠parse - mrb_
parser_ ⚠set_ filename - mrb_
pool_ ⚠alloc - mrb_
pool_ ⚠can_ realloc - mrb_
pool_ ⚠close - mrb_
pool_ ⚠open - mrb_
pool_ ⚠realloc - mrb_
prepend_ ⚠module - mrb_
print_ ⚠backtrace - mrb_
print_ ⚠error - mrb_
proc_ ⚠cfunc_ env_ get - mrb_
proc_ ⚠new - mrb_
proc_ ⚠new_ cfunc - mrb_
proc_ ⚠new_ cfunc_ with_ env - mrb_
protect ⚠ - mrb_
protect_ ⚠error - mrb_
ptr_ ⚠to_ str - mrb_
raise ⚠ - mrb_
raisef ⚠ - mrb_
range_ ⚠beg_ len - mrb_
range_ ⚠new - mrb_
range_ ⚠ptr - mrb_
read_ ⚠float - mrb_
read_ ⚠int - mrb_
read_ ⚠irep - mrb_
read_ ⚠irep_ buf - mrb_
realloc ⚠ - mrb_
realloc_ ⚠simple - mrb_
remove_ ⚠method - mrb_
rescue ⚠ - mrb_
rescue_ ⚠exceptions - mrb_
respond_ ⚠to - mrb_
show_ ⚠copyright - mrb_
show_ ⚠version - mrb_
singleton_ ⚠class - mrb_
singleton_ ⚠class_ ptr - mrb_
stack_ ⚠extend - mrb_
state_ ⚠atexit - mrb_
str_ ⚠append - mrb_
str_ ⚠cat - mrb_
str_ ⚠cat_ cstr - mrb_
str_ ⚠cat_ str - mrb_
str_ ⚠cmp - mrb_
str_ ⚠concat - mrb_
str_ ⚠dup - mrb_
str_ ⚠equal - mrb_
str_ ⚠index - mrb_
str_ ⚠intern - mrb_
str_ ⚠modify - mrb_
str_ ⚠modify_ keep_ ascii - mrb_
str_ ⚠new - mrb_
str_ ⚠new_ capa - mrb_
str_ ⚠new_ cstr - mrb_
str_ ⚠new_ static - mrb_
str_ ⚠plus - mrb_
str_ ⚠resize - mrb_
str_ ⚠substr - mrb_
str_ ⚠to_ cstr - mrb_
str_ ⚠to_ dbl - mrb_
str_ ⚠to_ integer - mrb_
string_ ⚠cstr - mrb_
string_ ⚠value_ cstr - mrb_
sym_ ⚠dump - mrb_
sym_ ⚠name - mrb_
sym_ ⚠name_ len - mrb_
sym_ ⚠str - mrb_
sys_ ⚠alloc_ rarray - mrb_
sys_ ⚠alloc_ rstring - mrb_
sys_ ⚠basic_ ptr - mrb_
sys_ ⚠class_ of_ value - mrb_
sys_ ⚠class_ ptr - mrb_
sys_ ⚠class_ to_ rclass - mrb_
sys_ ⚠class_ value - mrb_
sys_ ⚠cptr_ ptr - mrb_
sys_ ⚠cptr_ value - mrb_
sys_ ⚠data_ init - mrb_
sys_ ⚠data_ value - mrb_
sys_ ⚠fail - mrb_
sys_ ⚠false_ value - mrb_
sys_ ⚠fixnum_ to_ cint - mrb_
sys_ ⚠fixnum_ value - mrb_
sys_ ⚠float_ to_ cdouble - mrb_
sys_ ⚠float_ value - mrb_
sys_ ⚠gc_ arena_ restore - mrb_
sys_ ⚠gc_ arena_ save - mrb_
sys_ ⚠gc_ disable - mrb_
sys_ ⚠gc_ enable - mrb_
sys_ ⚠gc_ live_ objects - mrb_
sys_ ⚠module_ value - mrb_
sys_ mruby_ version - Version metadata
String
for embedded mruby. - mrb_
sys_ ⚠new_ symbol - mrb_
sys_ ⚠nil_ value - mrb_
sys_ ⚠obj_ frozen - mrb_
sys_ ⚠obj_ ptr - mrb_
sys_ ⚠obj_ value - mrb_
sys_ ⚠proc_ ptr - mrb_
sys_ ⚠proc_ value - mrb_
sys_ ⚠raise - mrb_
sys_ ⚠raise_ current_ exception - mrb_
sys_ ⚠range_ excl - mrb_
sys_ ⚠repack_ into_ rarray - mrb_
sys_ ⚠repack_ into_ rstring - mrb_
sys_ ⚠safe_ gc_ mark - mrb_
sys_ ⚠set_ instance_ tt - mrb_
sys_ state_ debug - Debug representation for
mrb_state
. - mrb_
sys_ ⚠true_ value - mrb_
sys_ ⚠value_ has_ method - mrb_
sys_ ⚠value_ is_ dead - mrb_
sys_ ⚠value_ is_ false - mrb_
sys_ ⚠value_ is_ nil - mrb_
sys_ ⚠value_ is_ true - mrb_
top_ ⚠run - mrb_
top_ ⚠self - mrb_
type_ ⚠convert - mrb_
type_ ⚠convert_ check - mrb_
undef_ ⚠class_ method - mrb_
undef_ ⚠class_ method_ id - mrb_
undef_ ⚠method - mrb_
undef_ ⚠method_ id - mrb_
vformat ⚠ - mrb_
vm_ ⚠ci_ env - mrb_
vm_ ⚠ci_ env_ set - mrb_
vm_ ⚠ci_ proc_ set - mrb_
vm_ ⚠ci_ target_ class - mrb_
vm_ ⚠ci_ target_ class_ set - mrb_
vm_ ⚠exec - mrb_
vm_ ⚠run - mrb_
warn ⚠ - mrb_
write_ ⚠barrier - mrb_
yield ⚠ - mrb_
yield_ ⚠argv - mrb_
yield_ ⚠cont - mrb_
yield_ ⚠with_ class - mrbc_
cleanup_ ⚠local_ variables - mrbc_
context_ ⚠free - mrbc_
context_ ⚠new - mrbc_
filename ⚠ - mrbc_
partial_ ⚠hook
Type Aliases§
- __
builtin_ va_ list - __
jmp_ buf - jmp_buf
- mrb_
allocf - mrb_
args_ format - mrb_
aspec - mrb_
atexit_ func - mrb_
bool - mrb_
code - mrb_
each_ object_ callback - mrb_
float - mrb_
func_ t - mrb_
hash_ foreach_ func - mrb_int
- mrb_
iv_ foreach_ func - mrb_
method_ t - mrb_
mt_ foreach_ func - mrb_
protect_ error_ func - mrb_
ssize - mrb_sym
- mrb_
uint - va_list