ruby

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package ruby is a wrapper for creating Ruby native extension in Go

ref.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool2Int

func Bool2Int(b bool) int

Bool2Int convert from bool to int (0 or 1)

func Char2String

func Char2String(char *Char) string

Char2String convert from *Char to Go string without copy

func GetGoStruct

func GetGoStruct(obj VALUE) unsafe.Pointer

GetGoStruct returns Go object from Ruby object

See also NewGoStruct

func Int2Bool

func Int2Bool(i Int) bool

Int2Bool convert from int (0 or 1) to bool

func NUM2INT

func NUM2INT(x VALUE) int

NUM2INT is alias to [RbNum2intInline]

func RB_FIX2INT

func RB_FIX2INT(x VALUE) int

RB_FIX2INT calls `RB_FIX2INT` in C

Original definition is following

RB_FIX2INT(VALUE x)

func RB_FIX2UINT

func RB_FIX2UINT(x VALUE) uint

RB_FIX2UINT calls `RB_FIX2UINT` in C

Original definition is following

RB_FIX2UINT(VALUE x)

func RB_FL_REVERSE

func RB_FL_REVERSE(obj VALUE, flags VALUE)

RB_FL_REVERSE calls `RB_FL_REVERSE` in C

Original definition is following

RB_FL_REVERSE(VALUE obj, VALUE flags)

func RB_FL_REVERSE_RAW

func RB_FL_REVERSE_RAW(obj VALUE, flags VALUE)

RB_FL_REVERSE_RAW calls `RB_FL_REVERSE_RAW` in C

Original definition is following

RB_FL_REVERSE_RAW(VALUE obj, VALUE flags)

func RB_FL_SET

func RB_FL_SET(obj VALUE, flags VALUE)

RB_FL_SET calls `RB_FL_SET` in C

Original definition is following

RB_FL_SET(VALUE obj, VALUE flags)

func RB_FL_SET_RAW

func RB_FL_SET_RAW(obj VALUE, flags VALUE)

RB_FL_SET_RAW calls `RB_FL_SET_RAW` in C

Original definition is following

RB_FL_SET_RAW(VALUE obj, VALUE flags)

func RB_FL_UNSET

func RB_FL_UNSET(obj VALUE, flags VALUE)

RB_FL_UNSET calls `RB_FL_UNSET` in C

Original definition is following

RB_FL_UNSET(VALUE obj, VALUE flags)

func RB_FL_UNSET_RAW

func RB_FL_UNSET_RAW(obj VALUE, flags VALUE)

RB_FL_UNSET_RAW calls `RB_FL_UNSET_RAW` in C

Original definition is following

RB_FL_UNSET_RAW(VALUE obj, VALUE flags)

func RB_NUM2UINT

func RB_NUM2UINT(x VALUE) uint

RB_NUM2UINT calls `RB_NUM2UINT` in C

Original definition is following

RB_NUM2UINT(VALUE x)

func RB_OBJ_FREEZE_RAW

func RB_OBJ_FREEZE_RAW(obj VALUE)

RB_OBJ_FREEZE_RAW calls `RB_OBJ_FREEZE_RAW` in C

Original definition is following

RB_OBJ_FREEZE_RAW(VALUE obj)

func RSTRING_END

func RSTRING_END(str VALUE) string

RSTRING_END calls `RSTRING_END` in C

Original definition is following

RSTRING_END(VALUE str)

func RSTRING_LENINT

func RSTRING_LENINT(str VALUE) int

RSTRING_LENINT calls `RSTRING_LENINT` in C

Original definition is following

RSTRING_LENINT(VALUE str)

func RbAbsintSinglebitP

func RbAbsintSinglebitP(val VALUE) int

RbAbsintSinglebitP calls `rb_absint_singlebit_p` in C

Original definition is following

int rb_absint_singlebit_p(VALUE val)

func RbAddEventHook

func RbAddEventHook(fun RbEventHookFuncT, events RbEventFlagT, data VALUE)

RbAddEventHook calls `rb_add_event_hook` in C

Original definition is following

void rb_add_event_hook(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data)

func RbAlias

func RbAlias(klass VALUE, dst ID, src ID)

RbAlias calls `rb_alias` in C

Original definition is following

void rb_alias(VALUE klass, ID dst, ID src)

func RbAliasVariable

func RbAliasVariable(dst ID, src ID)

RbAliasVariable calls `rb_alias_variable` in C

Original definition is following

void rb_alias_variable(ID dst, ID src)

func RbAllocTmpBuffer

func RbAllocTmpBuffer(store *VALUE, len Long) unsafe.Pointer

RbAllocTmpBuffer calls `rb_alloc_tmp_buffer` in C

Original definition is following

void *rb_alloc_tmp_buffer(volatile VALUE *store, long len)

func RbAllocTmpBuffer2

func RbAllocTmpBuffer2(store *VALUE, count Long, elsize SizeT) unsafe.Pointer

RbAllocTmpBuffer2 calls `rb_alloc_tmp_buffer2` in C

Original definition is following

rb_alloc_tmp_buffer2(volatile VALUE *store, long count, size_t elsize)

func RbAllocTmpBufferWithCount

func RbAllocTmpBufferWithCount(store *VALUE, len SizeT, count SizeT) unsafe.Pointer

RbAllocTmpBufferWithCount calls `rb_alloc_tmp_buffer_with_count` in C

Original definition is following

void *rb_alloc_tmp_buffer_with_count(volatile VALUE *store, size_t len,size_t count)

func RbArithmeticSequenceExtract

func RbArithmeticSequenceExtract(as VALUE, buf *RbArithmeticSequenceComponentsT) int

RbArithmeticSequenceExtract calls `rb_arithmetic_sequence_extract` in C

Original definition is following

int rb_arithmetic_sequence_extract(VALUE as, rb_arithmetic_sequence_components_t *buf)

func RbAryFree

func RbAryFree(ary VALUE)

RbAryFree calls `rb_ary_free` in C

Original definition is following

void rb_ary_free(VALUE ary)

func RbAryModify

func RbAryModify(ary VALUE)

RbAryModify calls `rb_ary_modify` in C

Original definition is following

void rb_ary_modify(VALUE ary)

func RbAryPtrUseEnd

func RbAryPtrUseEnd(a VALUE)

RbAryPtrUseEnd calls `rb_ary_ptr_use_end` in C

Original definition is following

void rb_ary_ptr_use_end(VALUE a)

func RbAryStore

func RbAryStore(ary VALUE, key Long, val VALUE)

RbAryStore calls `rb_ary_store` in C

Original definition is following

void rb_ary_store(VALUE ary, long key, VALUE val)

func RbAssertFailure

func RbAssertFailure(file string, line int, name string, expr string)

RbAssertFailure calls `rb_assert_failure` in C

Original definition is following

void rb_assert_failure(const char *file, int line, const char *name, const char *expr)

func RbAttr

func RbAttr(klass VALUE, name ID, need_reader int, need_writer int, honour_visibility int)

RbAttr calls `rb_attr` in C

Original definition is following

void rb_attr(VALUE klass, ID name, int need_reader, int need_writer, int honour_visibility)

func RbBackrefSet

func RbBackrefSet(md VALUE)

RbBackrefSet calls `rb_backref_set` in C

Original definition is following

void rb_backref_set(VALUE md)

func RbBacktrace

func RbBacktrace()

RbBacktrace calls `rb_backtrace` in C

Original definition is following

void rb_backtrace(void)

func RbBig2Comp

func RbBig2Comp(num VALUE)

RbBig2Comp calls `rb_big_2comp` in C

Original definition is following

void rb_big_2comp(VALUE num)

func RbBig2Ulong

func RbBig2Ulong(x VALUE) uint

RbBig2Ulong calls `rb_big2ulong` in C

Original definition is following

unsigned long rb_big2ulong(VALUE x)

func RbBigPack

func RbBigPack(val VALUE, buf *uint, num_longs Long)

RbBigPack calls `rb_big_pack` in C

Original definition is following

void rb_big_pack(VALUE val, unsigned long *buf, long num_longs)

func RbBigResize

func RbBigResize(big VALUE, len SizeT)

RbBigResize calls `rb_big_resize` in C

Original definition is following

void rb_big_resize(VALUE big, size_t len)

func RbBigSign

func RbBigSign(num VALUE) int

RbBigSign calls `rb_big_sign` in C

Original definition is following

int rb_big_sign(VALUE num)

func RbBigzeroP

func RbBigzeroP(x VALUE) int

RbBigzeroP calls `rb_bigzero_p` in C

Original definition is following

int rb_bigzero_p(VALUE x)

func RbBlockGivenP

func RbBlockGivenP() int

RbBlockGivenP calls `rb_block_given_p` in C

Original definition is following

int rb_block_given_p(void)

func RbBugErrno

func RbBugErrno(msg string, err int)

RbBugErrno calls `rb_bug_errno` in C

Original definition is following

void rb_bug_errno(const char *msg, int err)

func RbCheckArity

func RbCheckArity(argc int, min int, max int) int

RbCheckArity calls `rb_check_arity` in C

Original definition is following

rb_check_arity(int argc, int min, int max)

func RbCheckCopyable

func RbCheckCopyable(obj VALUE, orig VALUE)

RbCheckCopyable calls `rb_check_copyable` in C

Original definition is following

void rb_check_copyable(VALUE obj, VALUE orig)

func RbCheckFrozen

func RbCheckFrozen(obj VALUE)

RbCheckFrozen calls `rb_check_frozen` in C

Original definition is following

void rb_check_frozen(VALUE obj)

func RbCheckFrozenInline

func RbCheckFrozenInline(obj VALUE)

RbCheckFrozenInline calls `rb_check_frozen_inline` in C

Original definition is following

rb_check_frozen_inline(VALUE obj)

func RbCheckInheritable

func RbCheckInheritable(super VALUE)

RbCheckInheritable calls `rb_check_inheritable` in C

Original definition is following

void rb_check_inheritable(VALUE super)

func RbCheckType

func RbCheckType(obj VALUE, t int)

RbCheckType calls `rb_check_type` in C

Original definition is following

void rb_check_type(VALUE obj, int t)

func RbCheckTypeddata

func RbCheckTypeddata(obj VALUE, data_type *RbDataTypeT) unsafe.Pointer

RbCheckTypeddata calls `rb_check_typeddata` in C

Original definition is following

void *rb_check_typeddata(VALUE obj, const rb_data_type_t *data_type)

func RbClass2Name

func RbClass2Name(klass VALUE) string

RbClass2Name calls `rb_class2name` in C

Original definition is following

const char *rb_class2name(VALUE klass)

func RbClearConstantCacheForId

func RbClearConstantCacheForId(id ID)

RbClearConstantCacheForId calls `rb_clear_constant_cache_for_id` in C

Original definition is following

void rb_clear_constant_cache_for_id(ID id)

func RbCloexecDup

func RbCloexecDup(oldfd int) int

RbCloexecDup calls `rb_cloexec_dup` in C

Original definition is following

int rb_cloexec_dup(int oldfd)

func RbCloexecDup2

func RbCloexecDup2(oldfd int, newfd int) int

RbCloexecDup2 calls `rb_cloexec_dup2` in C

Original definition is following

int rb_cloexec_dup2(int oldfd, int newfd)

func RbCloexecFcntlDupfd

func RbCloexecFcntlDupfd(fd int, minfd int) int

RbCloexecFcntlDupfd calls `rb_cloexec_fcntl_dupfd` in C

Original definition is following

int rb_cloexec_fcntl_dupfd(int fd, int minfd)

func RbCloexecOpen

func RbCloexecOpen(pathname string, flags int, mode ModeT) int

RbCloexecOpen calls `rb_cloexec_open` in C

Original definition is following

int rb_cloexec_open(const char *pathname, int flags, mode_t mode)

func RbCloexecPipe

func RbCloexecPipe(fildes []int) int

RbCloexecPipe calls `rb_cloexec_pipe` in C

Original definition is following

int rb_cloexec_pipe(int fildes[2])

func RbCloseBeforeExec

func RbCloseBeforeExec(lowfd int, maxhint int, noclose_fds VALUE)

RbCloseBeforeExec calls `rb_close_before_exec` in C

Original definition is following

void rb_close_before_exec(int lowfd, int maxhint, VALUE noclose_fds)

func RbCmperr

func RbCmperr(a VALUE, b VALUE)

RbCmperr calls `rb_cmperr` in C

Original definition is following

void rb_cmperr(VALUE a, VALUE b)

func RbCmpint

func RbCmpint(val VALUE, a VALUE, b VALUE) int

RbCmpint calls `rb_cmpint` in C

Original definition is following

int rb_cmpint(VALUE val, VALUE a, VALUE b)

func RbConstDefined

func RbConstDefined(space VALUE, name ID) int

RbConstDefined calls `rb_const_defined` in C

Original definition is following

int rb_const_defined(VALUE space, ID name)

func RbConstDefinedAt

func RbConstDefinedAt(space VALUE, name ID) int

RbConstDefinedAt calls `rb_const_defined_at` in C

Original definition is following

int rb_const_defined_at(VALUE space, ID name)

func RbConstDefinedFrom

func RbConstDefinedFrom(space VALUE, name ID) int

RbConstDefinedFrom calls `rb_const_defined_from` in C

Original definition is following

int rb_const_defined_from(VALUE space, ID name)

func RbConstSet

func RbConstSet(space VALUE, name ID, val VALUE)

RbConstSet calls `rb_const_set` in C

Original definition is following

void rb_const_set(VALUE space, ID name, VALUE val)

func RbCopyGenericIvar

func RbCopyGenericIvar(clone VALUE, obj VALUE)

RbCopyGenericIvar calls `rb_copy_generic_ivar` in C

Original definition is following

void rb_copy_generic_ivar(VALUE clone, VALUE obj)

func RbCvSet

func RbCvSet(klass VALUE, name string, val VALUE)

RbCvSet calls `rb_cv_set` in C

Original definition is following

void rb_cv_set(VALUE klass, const char *name, VALUE val)

func RbCvarSet

func RbCvarSet(klass VALUE, name ID, val VALUE)

RbCvarSet calls `rb_cvar_set` in C

Original definition is following

void rb_cvar_set(VALUE klass, ID name, VALUE val)

func RbDataObjectGet

func RbDataObjectGet(obj VALUE) unsafe.Pointer

RbDataObjectGet calls `rb_data_object_get` in C

Original definition is following

rb_data_object_get(VALUE obj)

func RbDebugRstringNullPtr

func RbDebugRstringNullPtr(fun string)

RbDebugRstringNullPtr calls `rb_debug_rstring_null_ptr` in C

Original definition is following

void rb_debug_rstring_null_ptr(const char *func)

func RbDefineAlias

func RbDefineAlias(klass VALUE, dst string, src string)

RbDefineAlias calls `rb_define_alias` in C

Original definition is following

void rb_define_alias(VALUE klass, const char *dst, const char *src)

func RbDefineAllocFunc

func RbDefineAllocFunc(klass VALUE, fun unsafe.Pointer)

RbDefineAllocFunc calls `rb_define_alloc_func` in C

Original definition is following

void rb_define_alloc_func(VALUE klass, rb_alloc_func_t func)

func RbDefineAttr

func RbDefineAttr(klass VALUE, name string, read int, write int)

RbDefineAttr calls `rb_define_attr` in C

Original definition is following

void rb_define_attr(VALUE klass, const char *name, int read, int write)

func RbDefineClassVariable

func RbDefineClassVariable(arg1 VALUE, arg2 string, arg3 VALUE)

RbDefineClassVariable calls `rb_define_class_variable` in C

Original definition is following

void rb_define_class_variable(VALUE, const char*, VALUE)

func RbDefineConst

func RbDefineConst(klass VALUE, name string, val VALUE)

RbDefineConst calls `rb_define_const` in C

Original definition is following

void rb_define_const(VALUE klass, const char *name, VALUE val)

func RbDefineGlobalConst

func RbDefineGlobalConst(name string, val VALUE)

RbDefineGlobalConst calls `rb_define_global_const` in C

Original definition is following

void rb_define_global_const(const char *name, VALUE val)

func RbDefineGlobalFunction

func RbDefineGlobalFunction(mid string, arg2 unsafe.Pointer, arity int)

RbDefineGlobalFunction calls `rb_define_global_function` in C

Original definition is following

void rb_define_global_function(const char *mid, VALUE (*func)(), int arity)

func RbDefineHookedVariable

func RbDefineHookedVariable(name string, v *VALUE, getter *RbGvarGetterT, setter *RbGvarSetterT)

RbDefineHookedVariable calls `rb_define_hooked_variable` in C

Original definition is following

void rb_define_hooked_variable(const char *name, VALUE *var, rb_gvar_getter_t *getter, rb_gvar_setter_t *setter)

func RbDefineMethod

func RbDefineMethod(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)

RbDefineMethod calls `rb_define_method` in C

Original definition is following

void rb_define_method(VALUE klass, const char *mid, VALUE (*func)(), int arity)

func RbDefineMethodId

func RbDefineMethodId(klass VALUE, mid ID, arg3 unsafe.Pointer, arity int)

RbDefineMethodId calls `rb_define_method_id` in C

Original definition is following

void rb_define_method_id(VALUE klass, ID mid, VALUE (*func)(), int arity)

func RbDefineModuleFunction

func RbDefineModuleFunction(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)

RbDefineModuleFunction calls `rb_define_module_function` in C

Original definition is following

void rb_define_module_function(VALUE klass, const char *mid, VALUE (*func)(), int arity)

func RbDefinePrivateMethod

func RbDefinePrivateMethod(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)

RbDefinePrivateMethod calls `rb_define_private_method` in C

Original definition is following

void rb_define_private_method(VALUE klass, const char *mid, VALUE (*func)(), int arity)

func RbDefineProtectedMethod

func RbDefineProtectedMethod(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)

RbDefineProtectedMethod calls `rb_define_protected_method` in C

Original definition is following

void rb_define_protected_method(VALUE klass, const char *mid, VALUE (*func)(), int arity)

func RbDefineReadonlyVariable

func RbDefineReadonlyVariable(name string, v *VALUE)

RbDefineReadonlyVariable calls `rb_define_readonly_variable` in C

Original definition is following

void rb_define_readonly_variable(const char *name, const VALUE *var)

func RbDefineSingletonMethod

func RbDefineSingletonMethod(obj VALUE, mid string, arg3 unsafe.Pointer, arity int)

RbDefineSingletonMethod calls `rb_define_singleton_method` in C

Original definition is following

void rb_define_singleton_method(VALUE obj, const char *mid, VALUE(*func)(), int arity)

func RbDefineVariable

func RbDefineVariable(name string, v *VALUE)

RbDefineVariable calls `rb_define_variable` in C

Original definition is following

void rb_define_variable(const char *name, VALUE *var)

func RbDefineVirtualVariable

func RbDefineVirtualVariable(name string, getter *RbGvarGetterT, setter *RbGvarSetterT)

RbDefineVirtualVariable calls `rb_define_virtual_variable` in C

Original definition is following

void rb_define_virtual_variable(const char *name, rb_gvar_getter_t *getter, rb_gvar_setter_t *setter)

func RbDeprecateConstant

func RbDeprecateConstant(mod VALUE, name string)

RbDeprecateConstant calls `rb_deprecate_constant` in C

Original definition is following

void rb_deprecate_constant(VALUE mod, const char *name)

func RbDuringGc

func RbDuringGc() int

RbDuringGc calls `rb_during_gc` in C

Original definition is following

int rb_during_gc(void)

func RbEql

func RbEql(lhs VALUE, rhs VALUE) int

RbEql calls `rb_eql` in C

Original definition is following

int rb_eql(VALUE lhs, VALUE rhs)

func RbErrno

func RbErrno() int

RbErrno calls `rb_errno` in C

Original definition is following

int rb_errno(void)

func RbErrnoSet

func RbErrnoSet(err int)

RbErrnoSet calls `rb_errno_set` in C

Original definition is following

void rb_errno_set(int err)

func RbErrorArity

func RbErrorArity(argc int, min int, max int)

RbErrorArity calls `rb_error_arity` in C

Original definition is following

void rb_error_arity(int argc, int min, int max)

func RbErrorFrozen

func RbErrorFrozen(what string)

RbErrorFrozen calls `rb_error_frozen` in C

Original definition is following

void rb_error_frozen(const char *what)

func RbErrorFrozenObject

func RbErrorFrozenObject(what VALUE)

RbErrorFrozenObject calls `rb_error_frozen_object` in C

Original definition is following

void rb_error_frozen_object(VALUE what)

func RbExcFatal

func RbExcFatal(exc VALUE)

RbExcFatal calls `rb_exc_fatal` in C

Original definition is following

void rb_exc_fatal(VALUE exc)

func RbExcRaise

func RbExcRaise(exc VALUE)

RbExcRaise calls `rb_exc_raise` in C

Original definition is following

void rb_exc_raise(VALUE exc)

func RbExit

func RbExit(status int)

RbExit calls `rb_exit` in C

Original definition is following

void rb_exit(int status)

func RbExtRactorSafe

func RbExtRactorSafe(flag Bool)

RbExtRactorSafe calls `rb_ext_ractor_safe` in C

Original definition is following

void rb_ext_ractor_safe(_Bool flag)

func RbExtResolveSymbol

func RbExtResolveSymbol(feature string, symbol string) unsafe.Pointer

RbExtResolveSymbol calls `rb_ext_resolve_symbol` in C

Original definition is following

void *rb_ext_resolve_symbol(const char *feature, const char *symbol)

func RbExtendObject

func RbExtendObject(obj VALUE, mod VALUE)

RbExtendObject calls `rb_extend_object` in C

Original definition is following

void rb_extend_object(VALUE obj, VALUE mod)

func RbFdClr

func RbFdClr(fd int, f *RbFdsetT)

RbFdClr calls `rb_fd_clr` in C

Original definition is following

void rb_fd_clr(int fd, rb_fdset_t *f)

func RbFdCopy

func RbFdCopy(dst *RbFdsetT, src *FdSet, max int)

RbFdCopy calls `rb_fd_copy` in C

Original definition is following

void rb_fd_copy(rb_fdset_t *dst, const fd_set *src, int max)

func RbFdDup

func RbFdDup(dst *RbFdsetT, src *RbFdsetT)

RbFdDup calls `rb_fd_dup` in C

Original definition is following

void rb_fd_dup(rb_fdset_t *dst, const rb_fdset_t *src)

func RbFdFixCloexec

func RbFdFixCloexec(fd int)

RbFdFixCloexec calls `rb_fd_fix_cloexec` in C

Original definition is following

void rb_fd_fix_cloexec(int fd)

func RbFdInit

func RbFdInit(f *RbFdsetT)

RbFdInit calls `rb_fd_init` in C

Original definition is following

void rb_fd_init(rb_fdset_t *f)

func RbFdIsset

func RbFdIsset(fd int, f *RbFdsetT) int

RbFdIsset calls `rb_fd_isset` in C

Original definition is following

int rb_fd_isset(int fd, const rb_fdset_t *f)

func RbFdMax

func RbFdMax(f *RbFdsetT) int

RbFdMax calls `rb_fd_max` in C

Original definition is following

rb_fd_max(const rb_fdset_t *f)

func RbFdSelect

func RbFdSelect(nfds int, rfds *RbFdsetT, wfds *RbFdsetT, efds *RbFdsetT, timeout *Timeval) int

RbFdSelect calls `rb_fd_select` in C

Original definition is following

int rb_fd_select(int nfds, rb_fdset_t *rfds, rb_fdset_t *wfds, rb_fdset_t *efds, struct timeval *timeout)

func RbFdSet

func RbFdSet(fd int, f *RbFdsetT)

RbFdSet calls `rb_fd_set` in C

Original definition is following

void rb_fd_set(int fd, rb_fdset_t *f)

func RbFdTerm

func RbFdTerm(f *RbFdsetT)

RbFdTerm calls `rb_fd_term` in C

Original definition is following

void rb_fd_term(rb_fdset_t *f)

func RbFdZero

func RbFdZero(f *RbFdsetT)

RbFdZero calls `rb_fd_zero` in C

Original definition is following

void rb_fd_zero(rb_fdset_t *f)

func RbFeatureProvided

func RbFeatureProvided(feature string, loading **Char) int

RbFeatureProvided calls `rb_feature_provided` in C

Original definition is following

int rb_feature_provided(const char *feature, const char **loading)

func RbFindFileExt

func RbFindFileExt(feature *VALUE, exts []string) int

RbFindFileExt calls `rb_find_file_ext` in C

Original definition is following

int rb_find_file_ext(VALUE *feature, const char *const *exts)

func RbFix2Uint

func RbFix2Uint(num VALUE) uint

RbFix2Uint calls `rb_fix2uint` in C

Original definition is following

unsigned long rb_fix2uint(VALUE num)

func RbFix2Ulong

func RbFix2Ulong(x VALUE) uint

RbFix2Ulong calls `rb_fix2ulong` in C

Original definition is following

rb_fix2ulong(VALUE x)

func RbFrameMethodIdAndClass

func RbFrameMethodIdAndClass(idp *ID, klassp *VALUE) int

RbFrameMethodIdAndClass calls `rb_frame_method_id_and_class` in C

Original definition is following

int rb_frame_method_id_and_class(ID *idp, VALUE *klassp)

func RbFreeGenericIvar

func RbFreeGenericIvar(obj VALUE)

RbFreeGenericIvar calls `rb_free_generic_ivar` in C

Original definition is following

void rb_free_generic_ivar(VALUE obj)

func RbFreeTmpBuffer

func RbFreeTmpBuffer(store *VALUE)

RbFreeTmpBuffer calls `rb_free_tmp_buffer` in C

Original definition is following

void rb_free_tmp_buffer(volatile VALUE *store)

func RbFreezeSingletonClass

func RbFreezeSingletonClass(klass VALUE)

RbFreezeSingletonClass calls `rb_freeze_singleton_class` in C

Original definition is following

void rb_freeze_singleton_class(VALUE klass)

func RbGc

func RbGc()

RbGc calls `rb_gc` in C

Original definition is following

void rb_gc(void)

func RbGcAdjustMemoryUsage

func RbGcAdjustMemoryUsage(diff SsizeT)

RbGcAdjustMemoryUsage calls `rb_gc_adjust_memory_usage` in C

Original definition is following

void rb_gc_adjust_memory_usage(ssize_t diff)

func RbGcCopyFinalizer

func RbGcCopyFinalizer(dst VALUE, src VALUE)

RbGcCopyFinalizer calls `rb_gc_copy_finalizer` in C

Original definition is following

void rb_gc_copy_finalizer(VALUE dst, VALUE src)

func RbGcMark

func RbGcMark(obj VALUE)

RbGcMark calls `rb_gc_mark` in C

Original definition is following

void rb_gc_mark(VALUE obj)

func RbGcMarkLocations

func RbGcMarkLocations(start *VALUE, end *VALUE)

RbGcMarkLocations calls `rb_gc_mark_locations` in C

Original definition is following

void rb_gc_mark_locations(const VALUE *start, const VALUE *end)

func RbGcMarkMaybe

func RbGcMarkMaybe(obj VALUE)

RbGcMarkMaybe calls `rb_gc_mark_maybe` in C

Original definition is following

void rb_gc_mark_maybe(VALUE obj)

func RbGcMarkMovable

func RbGcMarkMovable(obj VALUE)

RbGcMarkMovable calls `rb_gc_mark_movable` in C

Original definition is following

void rb_gc_mark_movable(VALUE obj)

func RbGcRegisterAddress

func RbGcRegisterAddress(valptr *VALUE)

RbGcRegisterAddress calls `rb_gc_register_address` in C

Original definition is following

void rb_gc_register_address(VALUE *valptr)

func RbGcRegisterMarkObject

func RbGcRegisterMarkObject(object VALUE)

RbGcRegisterMarkObject calls `rb_gc_register_mark_object` in C

Original definition is following

void rb_gc_register_mark_object(VALUE object)

func RbGcUnregisterAddress

func RbGcUnregisterAddress(valptr *VALUE)

RbGcUnregisterAddress calls `rb_gc_unregister_address` in C

Original definition is following

void rb_gc_unregister_address(VALUE *valptr)

func RbGcUpdateTblRefs

func RbGcUpdateTblRefs(ptr *StTable)

RbGcUpdateTblRefs calls `rb_gc_update_tbl_refs` in C

Original definition is following

void rb_gc_update_tbl_refs(st_table *ptr)

func RbGcWritebarrier

func RbGcWritebarrier(old VALUE, young VALUE)

RbGcWritebarrier calls `rb_gc_writebarrier` in C

Original definition is following

void rb_gc_writebarrier(VALUE old, VALUE young)

func RbGcWritebarrierUnprotect

func RbGcWritebarrierUnprotect(obj VALUE)

RbGcWritebarrierUnprotect calls `rb_gc_writebarrier_unprotect` in C

Original definition is following

void rb_gc_writebarrier_unprotect(VALUE obj)

func RbGenrandInt32

func RbGenrandInt32() uint

RbGenrandInt32 calls `rb_genrand_int32` in C

Original definition is following

unsigned int rb_genrand_int32(void)

func RbGenrandUlongLimited

func RbGenrandUlongLimited(i uint) uint

RbGenrandUlongLimited calls `rb_genrand_ulong_limited` in C

Original definition is following

unsigned long rb_genrand_ulong_limited(unsigned long i)

func RbGetAllocFunc

func RbGetAllocFunc(klass VALUE) unsafe.Pointer

RbGetAllocFunc calls `rb_get_alloc_func` in C

Original definition is following

rb_alloc_func_t rb_get_alloc_func(VALUE klass)

func RbGetKwargs

func RbGetKwargs(keyword_hash VALUE, table *ID, required int, optional int, values *VALUE) int

RbGetKwargs calls `rb_get_kwargs` in C

Original definition is following

int rb_get_kwargs(VALUE keyword_hash, const ID *table, int required, int optional, VALUE *values)

func RbGlob

func RbGlob(pattern string, arg2 unsafe.Pointer, arg VALUE)

RbGlob calls `rb_glob` in C

Original definition is following

void rb_glob(const char *pattern, void (*func)(const char *path, VALUE arg, void *enc), VALUE arg)

func RbGlobalVariable

func RbGlobalVariable(arg1 *VALUE)

RbGlobalVariable calls `rb_global_variable` in C

Original definition is following

void rb_global_variable(VALUE *)

func RbHashBulkInsert

func RbHashBulkInsert(argc Long, argv *VALUE, hash VALUE)

RbHashBulkInsert calls `rb_hash_bulk_insert` in C

Original definition is following

void rb_hash_bulk_insert(long argc, const VALUE *argv, VALUE hash)

func RbHashBulkInsertIntoStTable

func RbHashBulkInsertIntoStTable(arg1 Long, arg2 *VALUE, arg3 VALUE)

RbHashBulkInsertIntoStTable calls `rb_hash_bulk_insert_into_st_table` in C

Original definition is following

void rb_hash_bulk_insert_into_st_table(long, const VALUE *, VALUE)

func RbHashForeach

func RbHashForeach(hash VALUE, arg2 unsafe.Pointer, arg VALUE)

RbHashForeach calls `rb_hash_foreach` in C

Original definition is following

void rb_hash_foreach(VALUE hash, int (*func)(VALUE key, VALUE val, VALUE arg), VALUE arg)

func RbId2Name

func RbId2Name(id ID) string

RbId2Name calls `rb_id2name` in C

Original definition is following

const char *rb_id2name(ID id)

func RbIncludeModule

func RbIncludeModule(klass VALUE, module VALUE)

RbIncludeModule calls `rb_include_module` in C

Original definition is following

void rb_include_module(VALUE klass, VALUE module)

func RbIntegerPack

func RbIntegerPack(val VALUE, words unsafe.Pointer, numwords SizeT, wordsize SizeT, nails SizeT, flags int) int

RbIntegerPack calls `rb_integer_pack` in C

Original definition is following

int rb_integer_pack(VALUE val, void *words, size_t numwords, size_t wordsize, size_t nails, int flags)

func RbInterrupt

func RbInterrupt()

RbInterrupt calls `rb_interrupt` in C

Original definition is following

void rb_interrupt(void)

func RbInvalidStr

func RbInvalidStr(str string, t string)

RbInvalidStr calls `rb_invalid_str` in C

Original definition is following

void rb_invalid_str(const char *str, const char *type)

func RbIsAbsolutePath

func RbIsAbsolutePath(path string) int

RbIsAbsolutePath calls `rb_is_absolute_path` in C

Original definition is following

int rb_is_absolute_path(const char *path)

func RbIsAttrsetId

func RbIsAttrsetId(id ID) int

RbIsAttrsetId calls `rb_is_attrset_id` in C

Original definition is following

int rb_is_attrset_id(ID id)

func RbIsClassId

func RbIsClassId(id ID) int

RbIsClassId calls `rb_is_class_id` in C

Original definition is following

int rb_is_class_id(ID id)

func RbIsConstId

func RbIsConstId(id ID) int

RbIsConstId calls `rb_is_const_id` in C

Original definition is following

int rb_is_const_id(ID id)

func RbIsGlobalId

func RbIsGlobalId(id ID) int

RbIsGlobalId calls `rb_is_global_id` in C

Original definition is following

int rb_is_global_id(ID id)

func RbIsInstanceId

func RbIsInstanceId(id ID) int

RbIsInstanceId calls `rb_is_instance_id` in C

Original definition is following

int rb_is_instance_id(ID id)

func RbIsJunkId

func RbIsJunkId(arg1 ID) int

RbIsJunkId calls `rb_is_junk_id` in C

Original definition is following

int rb_is_junk_id(ID)

func RbIsLocalId

func RbIsLocalId(id ID) int

RbIsLocalId calls `rb_is_local_id` in C

Original definition is following

int rb_is_local_id(ID id)

func RbIsalnum

func RbIsalnum(c int) int

RbIsalnum calls `rb_isalnum` in C

Original definition is following

rb_isalnum(int c)

func RbIsalpha

func RbIsalpha(c int) int

RbIsalpha calls `rb_isalpha` in C

Original definition is following

rb_isalpha(int c)

func RbIsascii

func RbIsascii(c int) int

RbIsascii calls `rb_isascii` in C

Original definition is following

rb_isascii(int c)

func RbIsblank

func RbIsblank(c int) int

RbIsblank calls `rb_isblank` in C

Original definition is following

rb_isblank(int c)

func RbIscntrl

func RbIscntrl(c int) int

RbIscntrl calls `rb_iscntrl` in C

Original definition is following

rb_iscntrl(int c)

func RbIsdigit

func RbIsdigit(c int) int

RbIsdigit calls `rb_isdigit` in C

Original definition is following

rb_isdigit(int c)

func RbIsgraph

func RbIsgraph(c int) int

RbIsgraph calls `rb_isgraph` in C

Original definition is following

rb_isgraph(int c)

func RbIslower

func RbIslower(c int) int

RbIslower calls `rb_islower` in C

Original definition is following

rb_islower(int c)

func RbIsprint

func RbIsprint(c int) int

RbIsprint calls `rb_isprint` in C

Original definition is following

rb_isprint(int c)

func RbIspunct

func RbIspunct(c int) int

RbIspunct calls `rb_ispunct` in C

Original definition is following

rb_ispunct(int c)

func RbIsspace

func RbIsspace(c int) int

RbIsspace calls `rb_isspace` in C

Original definition is following

rb_isspace(int c)

func RbIsupper

func RbIsupper(c int) int

RbIsupper calls `rb_isupper` in C

Original definition is following

rb_isupper(int c)

func RbIsxdigit

func RbIsxdigit(c int) int

RbIsxdigit calls `rb_isxdigit` in C

Original definition is following

rb_isxdigit(int c)

func RbIterBreak

func RbIterBreak()

RbIterBreak calls `rb_iter_break` in C

Original definition is following

void rb_iter_break(void)

func RbIterBreakValue

func RbIterBreakValue(val VALUE)

RbIterBreakValue calls `rb_iter_break_value` in C

Original definition is following

void rb_iter_break_value(VALUE val)

func RbIvarForeach

func RbIvarForeach(obj VALUE, arg2 unsafe.Pointer, arg StDataT)

RbIvarForeach calls `rb_ivar_foreach` in C

Original definition is following

void rb_ivar_foreach(VALUE obj, int (*func)(ID name, VALUE val, st_data_t arg), st_data_t arg)

func RbJumpTag

func RbJumpTag(state int)

RbJumpTag calls `rb_jump_tag` in C

Original definition is following

void rb_jump_tag(int state)

func RbKeywordGivenP

func RbKeywordGivenP() int

RbKeywordGivenP calls `rb_keyword_given_p` in C

Original definition is following

int rb_keyword_given_p(void)

func RbLastStatusSet

func RbLastStatusSet(status int, pid PidT)

RbLastStatusSet calls `rb_last_status_set` in C

Original definition is following

void rb_last_status_set(int status, pid_t pid)

func RbLastlineSet

func RbLastlineSet(str VALUE)

RbLastlineSet calls `rb_lastline_set` in C

Original definition is following

void rb_lastline_set(VALUE str)

func RbLoad

func RbLoad(path VALUE, wrap int)

RbLoad calls `rb_load` in C

Original definition is following

void rb_load(VALUE path, int wrap)

func RbLoadFile

func RbLoadFile(file string) unsafe.Pointer

RbLoadFile calls `rb_load_file` in C

Original definition is following

void *rb_load_file(const char *file)

func RbLoadFileStr

func RbLoadFileStr(file VALUE) unsafe.Pointer

RbLoadFileStr calls `rb_load_file_str` in C

Original definition is following

void *rb_load_file_str(VALUE file)

func RbLoadProtect

func RbLoadProtect(path VALUE, wrap int, state *int)

RbLoadProtect calls `rb_load_protect` in C

Original definition is following

void rb_load_protect(VALUE path, int wrap, int *state)

func RbLong2IntInline

func RbLong2IntInline(n Long) int

RbLong2IntInline calls `rb_long2int_inline` in C

Original definition is following

rb_long2int_inline(long n)

func RbMarkHash

func RbMarkHash(tbl *StTable)

RbMarkHash calls `rb_mark_hash` in C

Original definition is following

void rb_mark_hash(struct st_table *tbl)

func RbMarkSet

func RbMarkSet(tbl *StTable)

RbMarkSet calls `rb_mark_set` in C

Original definition is following

void rb_mark_set(struct st_table *tbl)

func RbMarkTbl

func RbMarkTbl(tbl *StTable)

RbMarkTbl calls `rb_mark_tbl` in C

Original definition is following

void rb_mark_tbl(struct st_table *tbl)

func RbMarkTblNoPin

func RbMarkTblNoPin(tbl *StTable)

RbMarkTblNoPin calls `rb_mark_tbl_no_pin` in C

Original definition is following

void rb_mark_tbl_no_pin(struct st_table *tbl)

func RbMarshalDefineCompat

func RbMarshalDefineCompat(newclass VALUE, oldclass VALUE, arg3 unsafe.Pointer, arg4 unsafe.Pointer)

RbMarshalDefineCompat calls `rb_marshal_define_compat` in C

Original definition is following

void rb_marshal_define_compat(VALUE newclass, VALUE oldclass, VALUE (*dumper)(VALUE), VALUE (*loader)(VALUE, VALUE))

func RbMatchBusy

func RbMatchBusy(md VALUE)

RbMatchBusy calls `rb_match_busy` in C

Original definition is following

void rb_match_busy(VALUE md)

func RbMemClear

func RbMemClear(buf *VALUE, len Long)

RbMemClear calls `rb_mem_clear` in C

Original definition is following

void rb_mem_clear(VALUE *buf, long len)

func RbMemcicmp

func RbMemcicmp(s1 unsafe.Pointer, s2 unsafe.Pointer, n Long) int

RbMemcicmp calls `rb_memcicmp` in C

Original definition is following

int rb_memcicmp(const void *s1,const void *s2, long n)

func RbMemerror

func RbMemerror()

RbMemerror calls `rb_memerror` in C

Original definition is following

void rb_memerror(void)

func RbMethodBasicDefinitionP

func RbMethodBasicDefinitionP(klass VALUE, mid ID) int

RbMethodBasicDefinitionP calls `rb_method_basic_definition_p` in C

Original definition is following

int rb_method_basic_definition_p(VALUE klass, ID mid)

func RbMethodBoundp

func RbMethodBoundp(klass VALUE, id ID, ex int) int

RbMethodBoundp calls `rb_method_boundp` in C

Original definition is following

int rb_method_boundp(VALUE klass, ID id, int ex)

func RbModConstAt

func RbModConstAt(arg1 VALUE, arg2 unsafe.Pointer) unsafe.Pointer

RbModConstAt calls `rb_mod_const_at` in C

Original definition is following

void *rb_mod_const_at(VALUE, void*)

func RbModConstOf

func RbModConstOf(arg1 VALUE, arg2 unsafe.Pointer) unsafe.Pointer

RbModConstOf calls `rb_mod_const_of` in C

Original definition is following

void *rb_mod_const_of(VALUE, void*)

func RbModMethodArity

func RbModMethodArity(mod VALUE, mid ID) int

RbModMethodArity calls `rb_mod_method_arity` in C

Original definition is following

int rb_mod_method_arity(VALUE mod, ID mid)

func RbModSysFail

func RbModSysFail(mod VALUE, msg string)

RbModSysFail calls `rb_mod_sys_fail` in C

Original definition is following

void rb_mod_sys_fail(VALUE mod, const char *msg)

func RbModSysFailStr

func RbModSysFailStr(mod VALUE, msg VALUE)

RbModSysFailStr calls `rb_mod_sys_fail_str` in C

Original definition is following

void rb_mod_sys_fail_str(VALUE mod, VALUE msg)

func RbModSyserrFail

func RbModSyserrFail(mod VALUE, err int, msg string)

RbModSyserrFail calls `rb_mod_syserr_fail` in C

Original definition is following

void rb_mod_syserr_fail(VALUE mod, int err, const char *msg)

func RbModSyserrFailStr

func RbModSyserrFailStr(mod VALUE, err int, msg VALUE)

RbModSyserrFailStr calls `rb_mod_syserr_fail_str` in C

Original definition is following

void rb_mod_syserr_fail_str(VALUE mod, int err, VALUE msg)

func RbMulSizeOverflow

func RbMulSizeOverflow(a SizeT, b SizeT, max SizeT, c *SizeT) int

RbMulSizeOverflow calls `rb_mul_size_overflow` in C

Original definition is following

rb_mul_size_overflow(size_t a, size_t b, size_t max, size_t *c)

func RbMustAsciicompat

func RbMustAsciicompat(obj VALUE)

RbMustAsciicompat calls `rb_must_asciicompat` in C

Original definition is following

void rb_must_asciicompat(VALUE obj)

func RbNeedBlock

func RbNeedBlock()

RbNeedBlock calls `rb_need_block` in C

Original definition is following

void rb_need_block(void)

func RbNotimplement

func RbNotimplement()

RbNotimplement calls `rb_notimplement` in C

Original definition is following

void rb_notimplement(void)

func RbNum2IntInline

func RbNum2IntInline(x VALUE) int

RbNum2IntInline calls `rb_num2int_inline` in C

Original definition is following

rb_num2int_inline(VALUE x)

func RbNum2Uint

func RbNum2Uint(num VALUE) uint

RbNum2Uint calls `rb_num2uint` in C

Original definition is following

unsigned long rb_num2uint(VALUE num)

func RbNum2Ulong

func RbNum2Ulong(num VALUE) uint

RbNum2Ulong calls `rb_num2ulong` in C

Original definition is following

unsigned long rb_num2ulong(VALUE num)

func RbNum2UlongInline

func RbNum2UlongInline(x VALUE) uint

RbNum2UlongInline calls `rb_num2ulong_inline` in C

Original definition is following

rb_num2ulong_inline(VALUE x)

func RbNumZerodiv

func RbNumZerodiv()

RbNumZerodiv calls `rb_num_zerodiv` in C

Original definition is following

void rb_num_zerodiv(void)

func RbObjCallInit

func RbObjCallInit(obj VALUE, argc int, argv *VALUE)

RbObjCallInit calls `rb_obj_call_init` in C

Original definition is following

void rb_obj_call_init(VALUE obj, int argc, const VALUE *argv)

func RbObjCallInitKw

func RbObjCallInitKw(arg1 VALUE, arg2 int, arg3 *VALUE, arg4 int)

RbObjCallInitKw calls `rb_obj_call_init_kw` in C

Original definition is following

void rb_obj_call_init_kw(VALUE, int, const VALUE*, int)

func RbObjClassname

func RbObjClassname(obj VALUE) string

RbObjClassname calls `rb_obj_classname` in C

Original definition is following

const char *rb_obj_classname(VALUE obj)

func RbObjFreezeInline

func RbObjFreezeInline(obj VALUE)

RbObjFreezeInline calls `rb_obj_freeze_inline` in C

Original definition is following

void rb_obj_freeze_inline(VALUE obj)

func RbObjMethodArity

func RbObjMethodArity(obj VALUE, mid ID) int

RbObjMethodArity calls `rb_obj_method_arity` in C

Original definition is following

int rb_obj_method_arity(VALUE obj, ID mid)

func RbObjRespondTo

func RbObjRespondTo(obj VALUE, mid ID, private_p int) int

RbObjRespondTo calls `rb_obj_respond_to` in C

Original definition is following

int rb_obj_respond_to(VALUE obj, ID mid, int private_p)

func RbOutOfInt

func RbOutOfInt(num Long)

RbOutOfInt calls `rb_out_of_int` in C

Original definition is following

void rb_out_of_int(long num)

func RbP

func RbP(obj VALUE)

RbP calls `rb_p` in C

Original definition is following

void rb_p(VALUE obj)

func RbPathCheck

func RbPathCheck(path string) int

RbPathCheck calls `rb_path_check` in C

Original definition is following

int rb_path_check(const char *path)

func RbPipe

func RbPipe(pipes *int) int

RbPipe calls `rb_pipe` in C

Original definition is following

int rb_pipe(int *pipes)

func RbPrependModule

func RbPrependModule(klass VALUE, module VALUE)

RbPrependModule calls `rb_prepend_module` in C

Original definition is following

void rb_prepend_module(VALUE klass, VALUE module)

func RbProcArity

func RbProcArity(recv VALUE) int

RbProcArity calls `rb_proc_arity` in C

Original definition is following

int rb_proc_arity(VALUE recv)

func RbProcExec

func RbProcExec(cmd string) int

RbProcExec calls `rb_proc_exec` in C

Original definition is following

int rb_proc_exec(const char *cmd)

func RbProvide

func RbProvide(feature string)

RbProvide calls `rb_provide` in C

Original definition is following

void rb_provide(const char *feature)

func RbProvided

func RbProvided(feature string) int

RbProvided calls `rb_provided` in C

Original definition is following

int rb_provided(const char *feature)

func RbRaise

func RbRaise(exc VALUE, format string, a ...interface{})

RbRaise calls `rb_raise` in C

Original definition is following

void rb_raise(VALUE exc, const char *fmt, ...)

`format` is supported in Go's format, not Ruby

func RbRandomInt32

func RbRandomInt32(rnd VALUE) uint

RbRandomInt32 calls `rb_random_int32` in C

Original definition is following

unsigned int rb_random_int32(VALUE rnd)

func RbRandomUlongLimited

func RbRandomUlongLimited(rnd VALUE, limit uint) uint

RbRandomUlongLimited calls `rb_random_ulong_limited` in C

Original definition is following

unsigned long rb_random_ulong_limited(VALUE rnd, unsigned long limit)

func RbRangeValues

func RbRangeValues(r VALUE, begp *VALUE, endp *VALUE, exclp *int) int

RbRangeValues calls `rb_range_values` in C

Original definition is following

int rb_range_values(VALUE range, VALUE *begp, VALUE *endp, int *exclp)

func RbReadwriteSysFail

func RbReadwriteSysFail(waiting RbIoWaitReadwrite, msg string)

RbReadwriteSysFail calls `rb_readwrite_sys_fail` in C

Original definition is following

void rb_readwrite_sys_fail(enum rb_io_wait_readwrite waiting, const char *msg)

func RbReadwriteSyserrFail

func RbReadwriteSyserrFail(waiting RbIoWaitReadwrite, err int, msg string)

RbReadwriteSyserrFail calls `rb_readwrite_syserr_fail` in C

Original definition is following

void rb_readwrite_syserr_fail(enum rb_io_wait_readwrite waiting, int err, const char *msg)

func RbRegBackrefNumber

func RbRegBackrefNumber(match VALUE, backref VALUE) int

RbRegBackrefNumber calls `rb_reg_backref_number` in C

Original definition is following

int rb_reg_backref_number(VALUE match, VALUE backref)

func RbRegOptions

func RbRegOptions(re VALUE) int

RbRegOptions calls `rb_reg_options` in C

Original definition is following

int rb_reg_options(VALUE re)

func RbRemoveEventHook

func RbRemoveEventHook(fun RbEventHookFuncT) int

RbRemoveEventHook calls `rb_remove_event_hook` in C

Original definition is following

int rb_remove_event_hook(rb_event_hook_func_t func)

func RbRemoveMethod

func RbRemoveMethod(klass VALUE, name string)

RbRemoveMethod calls `rb_remove_method` in C

Original definition is following

void rb_remove_method(VALUE klass, const char *name)

func RbRemoveMethodId

func RbRemoveMethodId(klass VALUE, mid ID)

RbRemoveMethodId calls `rb_remove_method_id` in C

Original definition is following

void rb_remove_method_id(VALUE klass, ID mid)

func RbReservedFdP

func RbReservedFdP(fd int) int

RbReservedFdP calls `rb_reserved_fd_p` in C

Original definition is following

int rb_reserved_fd_p(int fd)

func RbResetRandomSeed

func RbResetRandomSeed()

RbResetRandomSeed calls `rb_reset_random_seed` in C

Original definition is following

void rb_reset_random_seed(void)

func RbRespondTo

func RbRespondTo(obj VALUE, mid ID) int

RbRespondTo calls `rb_respond_to` in C

Original definition is following

int rb_respond_to(VALUE obj, ID mid)

func RbScanArgsBlockIdx

func RbScanArgsBlockIdx(fmt string) int

RbScanArgsBlockIdx calls `rb_scan_args_block_idx` in C

Original definition is following

rb_scan_args_block_idx(const char *fmt)

func RbScanArgsHashIdx

func RbScanArgsHashIdx(fmt string) int

RbScanArgsHashIdx calls `rb_scan_args_hash_idx` in C

Original definition is following

rb_scan_args_hash_idx(const char *fmt)

func RbScanArgsNLead

func RbScanArgsNLead(fmt string) int

RbScanArgsNLead calls `rb_scan_args_n_lead` in C

Original definition is following

rb_scan_args_n_lead(const char *fmt)

func RbScanArgsNOpt

func RbScanArgsNOpt(fmt string) int

RbScanArgsNOpt calls `rb_scan_args_n_opt` in C

Original definition is following

rb_scan_args_n_opt(const char *fmt)

func RbScanArgsNTrail

func RbScanArgsNTrail(fmt string) int

RbScanArgsNTrail calls `rb_scan_args_n_trail` in C

Original definition is following

rb_scan_args_n_trail(const char *fmt)

func RbScanArgsSet

func RbScanArgsSet(kw_flag int, argc int, argv *VALUE, n_lead int, n_opt int, n_trail int, f_var Bool, f_hash Bool, f_block Bool, vars []*VALUE, fmt string, varc int) int

RbScanArgsSet calls `rb_scan_args_set` in C

Original definition is following

rb_scan_args_set(int kw_flag, int argc, const VALUE *argv,

func RbScanArgsTrailIdx

func RbScanArgsTrailIdx(fmt string) int

RbScanArgsTrailIdx calls `rb_scan_args_trail_idx` in C

Original definition is following

rb_scan_args_trail_idx(const char *fmt)

func RbScanArgsVarIdx

func RbScanArgsVarIdx(fmt string) int

RbScanArgsVarIdx calls `rb_scan_args_var_idx` in C

Original definition is following

rb_scan_args_var_idx(const char *fmt)

func RbSetClassPath

func RbSetClassPath(klass VALUE, space VALUE, name string)

RbSetClassPath calls `rb_set_class_path` in C

Original definition is following

void rb_set_class_path(VALUE klass, VALUE space, const char *name)

func RbSetClassPathString

func RbSetClassPathString(klass VALUE, space VALUE, name VALUE)

RbSetClassPathString calls `rb_set_class_path_string` in C

Original definition is following

void rb_set_class_path_string(VALUE klass, VALUE space, VALUE name)

func RbSetEndProc

func RbSetEndProc(arg1 unsafe.Pointer, arg VALUE)

RbSetEndProc calls `rb_set_end_proc` in C

Original definition is following

void rb_set_end_proc(void (*func)(VALUE arg), VALUE arg)

func RbSetErrinfo

func RbSetErrinfo(err VALUE)

RbSetErrinfo calls `rb_set_errinfo` in C

Original definition is following

void rb_set_errinfo(VALUE err)

func RbSingletonClassAttached

func RbSingletonClassAttached(klass VALUE, obj VALUE)

RbSingletonClassAttached calls `rb_singleton_class_attached` in C

Original definition is following

void rb_singleton_class_attached(VALUE klass, VALUE obj)

func RbSourcefile

func RbSourcefile() string

RbSourcefile calls `rb_sourcefile` in C

Original definition is following

const char *rb_sourcefile(void)

func RbSourceline

func RbSourceline() int

RbSourceline calls `rb_sourceline` in C

Original definition is following

int rb_sourceline(void)

func RbStAddDirect

func RbStAddDirect(arg1 *StTable, arg2 StDataT, arg3 StDataT)

RbStAddDirect calls `rb_st_add_direct` in C

Original definition is following

void rb_st_add_direct(st_table *, st_data_t, st_data_t)

func RbStCleanupSafe

func RbStCleanupSafe(arg1 *StTable, arg2 StDataT)

RbStCleanupSafe calls `rb_st_cleanup_safe` in C

Original definition is following

void rb_st_cleanup_safe(st_table *, st_data_t)

func RbStClear

func RbStClear(arg1 *StTable)

RbStClear calls `rb_st_clear` in C

Original definition is following

void rb_st_clear(st_table *)

func RbStDelete

func RbStDelete(arg1 *StTable, arg2 *StDataT, arg3 *StDataT) int

RbStDelete calls `rb_st_delete` in C

Original definition is following

int rb_st_delete(st_table *, st_data_t *, st_data_t *)

func RbStDeleteSafe

func RbStDeleteSafe(arg1 *StTable, arg2 *StDataT, arg3 *StDataT, arg4 StDataT) int

RbStDeleteSafe calls `rb_st_delete_safe` in C

Original definition is following

int rb_st_delete_safe(st_table *, st_data_t *, st_data_t *, st_data_t)

func RbStForeach

func RbStForeach(arg1 *StTable, arg2 *StForeachCallbackFunc, arg3 StDataT) int

RbStForeach calls `rb_st_foreach` in C

Original definition is following

int rb_st_foreach(st_table *, st_foreach_callback_func *, st_data_t)

func RbStForeachCheck

func RbStForeachCheck(arg1 *StTable, arg2 *StForeachCheckCallbackFunc, arg3 StDataT, arg4 StDataT) int

RbStForeachCheck calls `rb_st_foreach_check` in C

Original definition is following

int rb_st_foreach_check(st_table *, st_foreach_check_callback_func *, st_data_t, st_data_t)

func RbStForeachSafe

func RbStForeachSafe(st *StTable, fun *StForeachCallbackFunc, arg StDataT)

RbStForeachSafe calls `rb_st_foreach_safe` in C

Original definition is following

void rb_st_foreach_safe(struct st_table *st, st_foreach_callback_func *func, st_data_t arg)

func RbStForeachWithReplace

func RbStForeachWithReplace(tab *StTable, fun *StForeachCheckCallbackFunc, replace *StUpdateCallbackFunc, arg StDataT) int

RbStForeachWithReplace calls `rb_st_foreach_with_replace` in C

Original definition is following

int rb_st_foreach_with_replace(st_table *tab, st_foreach_check_callback_func *func, st_update_callback_func *replace, st_data_t arg)

func RbStFreeTable

func RbStFreeTable(arg1 *StTable)

RbStFreeTable calls `rb_st_free_table` in C

Original definition is following

void rb_st_free_table(st_table *)

func RbStGetKey

func RbStGetKey(arg1 *StTable, arg2 StDataT, arg3 *StDataT) int

RbStGetKey calls `rb_st_get_key` in C

Original definition is following

int rb_st_get_key(st_table *, st_data_t, st_data_t *)

func RbStInsert

func RbStInsert(arg1 *StTable, arg2 StDataT, arg3 StDataT) int

RbStInsert calls `rb_st_insert` in C

Original definition is following

int rb_st_insert(st_table *, st_data_t, st_data_t)

func RbStInsert2

func RbStInsert2(arg1 *StTable, arg2 StDataT, arg3 StDataT, arg4 unsafe.Pointer) int

RbStInsert2 calls `rb_st_insert2` in C

Original definition is following

int rb_st_insert2(st_table *, st_data_t, st_data_t, st_data_t (*)(st_data_t))

func RbStLocaleInsensitiveStrcasecmp

func RbStLocaleInsensitiveStrcasecmp(s1 string, s2 string) int

RbStLocaleInsensitiveStrcasecmp calls `rb_st_locale_insensitive_strcasecmp` in C

Original definition is following

__attribute__((__pure__)) int rb_st_locale_insensitive_strcasecmp(const char *s1, const char *s2)

func RbStLocaleInsensitiveStrncasecmp

func RbStLocaleInsensitiveStrncasecmp(s1 string, s2 string, n SizeT) int

RbStLocaleInsensitiveStrncasecmp calls `rb_st_locale_insensitive_strncasecmp` in C

Original definition is following

__attribute__((__pure__)) int rb_st_locale_insensitive_strncasecmp(const char *s1, const char *s2, size_t n)

func RbStLookup

func RbStLookup(arg1 *StTable, arg2 StDataT, arg3 *StDataT) int

RbStLookup calls `rb_st_lookup` in C

Original definition is following

int rb_st_lookup(st_table *, st_data_t, st_data_t *)

func RbStNumcmp

func RbStNumcmp(arg1 StDataT, arg2 StDataT) int

RbStNumcmp calls `rb_st_numcmp` in C

Original definition is following

__attribute__((__const__)) int rb_st_numcmp(st_data_t, st_data_t)

func RbStShift

func RbStShift(arg1 *StTable, arg2 *StDataT, arg3 *StDataT) int

RbStShift calls `rb_st_shift` in C

Original definition is following

int rb_st_shift(st_table *, st_data_t *, st_data_t *)

func RbStUpdate

func RbStUpdate(table *StTable, key StDataT, fun *StUpdateCallbackFunc, arg StDataT) int

RbStUpdate calls `rb_st_update` in C

Original definition is following

int rb_st_update(st_table *table, st_data_t key, st_update_callback_func *func, st_data_t arg)

func RbStrCmp

func RbStrCmp(lhs VALUE, rhs VALUE) int

RbStrCmp calls `rb_str_cmp` in C

Original definition is following

int rb_str_cmp(VALUE lhs, VALUE rhs)

func RbStrComparable

func RbStrComparable(str1 VALUE, str2 VALUE) int

RbStrComparable calls `rb_str_comparable` in C

Original definition is following

int rb_str_comparable(VALUE str1, VALUE str2)

func RbStrFree

func RbStrFree(str VALUE)

RbStrFree calls `rb_str_free` in C

Original definition is following

void rb_str_free(VALUE str)

func RbStrHashCmp

func RbStrHashCmp(str1 VALUE, str2 VALUE) int

RbStrHashCmp calls `rb_str_hash_cmp` in C

Original definition is following

int rb_str_hash_cmp(VALUE str1, VALUE str2)

func RbStrModify

func RbStrModify(str VALUE)

RbStrModify calls `rb_str_modify` in C

Original definition is following

void rb_str_modify(VALUE str)

func RbStrModifyExpand

func RbStrModifyExpand(str VALUE, capa Long)

RbStrModifyExpand calls `rb_str_modify_expand` in C

Original definition is following

void rb_str_modify_expand(VALUE str, long capa)

func RbStrSetLen

func RbStrSetLen(str VALUE, len Long)

RbStrSetLen calls `rb_str_set_len` in C

Original definition is following

void rb_str_set_len(VALUE str, long len)

func RbStrSharedReplace

func RbStrSharedReplace(dst VALUE, src VALUE)

RbStrSharedReplace calls `rb_str_shared_replace` in C

Original definition is following

void rb_str_shared_replace(VALUE dst, VALUE src)

func RbStrSubpos

func RbStrSubpos(str VALUE, beg Long, len *Long) string

RbStrSubpos calls `rb_str_subpos` in C

Original definition is following

char *rb_str_subpos(VALUE str, long beg, long *len)

func RbStrUpdate

func RbStrUpdate(dst VALUE, beg Long, len Long, src VALUE)

RbStrUpdate calls `rb_str_update` in C

Original definition is following

void rb_str_update(VALUE dst, long beg, long len, VALUE src)

func RbStringValueCstr

func RbStringValueCstr(ptr *VALUE) string

RbStringValueCstr calls `rb_string_value_cstr` in C

Original definition is following

char *rb_string_value_cstr(volatile VALUE *ptr)

func RbStringValuePtr

func RbStringValuePtr(ptr *VALUE) string

RbStringValuePtr calls `rb_string_value_ptr` in C

Original definition is following

char *rb_string_value_ptr(volatile VALUE *ptr)

func RbSymnameP

func RbSymnameP(str string) int

RbSymnameP calls `rb_symname_p` in C

Original definition is following

int rb_symname_p(const char *str)

func RbSysFail

func RbSysFail(msg string)

RbSysFail calls `rb_sys_fail` in C

Original definition is following

void rb_sys_fail(const char *msg)

func RbSysFailStr

func RbSysFailStr(msg VALUE)

RbSysFailStr calls `rb_sys_fail_str` in C

Original definition is following

void rb_sys_fail_str(VALUE msg)

func RbSyserrFail

func RbSyserrFail(err int, msg string)

RbSyserrFail calls `rb_syserr_fail` in C

Original definition is following

void rb_syserr_fail(int err, const char *msg)

func RbSyserrFailStr

func RbSyserrFailStr(err int, msg VALUE)

RbSyserrFailStr calls `rb_syserr_fail_str` in C

Original definition is following

void rb_syserr_fail_str(int err, VALUE msg)

func RbSyswait

func RbSyswait(pid PidT)

RbSyswait calls `rb_syswait` in C

Original definition is following

void rb_syswait(pid_t pid)

func RbThreadAlone

func RbThreadAlone() int

RbThreadAlone calls `rb_thread_alone` in C

Original definition is following

int rb_thread_alone(void)

func RbThreadAtfork

func RbThreadAtfork()

RbThreadAtfork calls `rb_thread_atfork` in C

Original definition is following

void rb_thread_atfork(void)

func RbThreadAtforkBeforeExec

func RbThreadAtforkBeforeExec()

RbThreadAtforkBeforeExec calls `rb_thread_atfork_before_exec` in C

Original definition is following

void rb_thread_atfork_before_exec(void)

func RbThreadCheckInts

func RbThreadCheckInts()

RbThreadCheckInts calls `rb_thread_check_ints` in C

Original definition is following

void rb_thread_check_ints(void)

func RbThreadFdClose

func RbThreadFdClose(fd int)

RbThreadFdClose calls `rb_thread_fd_close` in C

Original definition is following

void rb_thread_fd_close(int fd)

func RbThreadFdSelect

func RbThreadFdSelect(nfds int, rfds *RbFdsetT, wfds *RbFdsetT, efds *RbFdsetT, timeout *Timeval) int

RbThreadFdSelect calls `rb_thread_fd_select` in C

Original definition is following

int rb_thread_fd_select(int nfds, rb_fdset_t *rfds, rb_fdset_t *wfds, rb_fdset_t *efds, struct timeval *timeout)

func RbThreadFdWritable

func RbThreadFdWritable(fd int) int

RbThreadFdWritable calls `rb_thread_fd_writable` in C

Original definition is following

int rb_thread_fd_writable(int fd)

func RbThreadInterrupted

func RbThreadInterrupted(thval VALUE) int

RbThreadInterrupted calls `rb_thread_interrupted` in C

Original definition is following

int rb_thread_interrupted(VALUE thval)

func RbThreadSchedule

func RbThreadSchedule()

RbThreadSchedule calls `rb_thread_schedule` in C

Original definition is following

void rb_thread_schedule(void)

func RbThreadSleep

func RbThreadSleep(sec int)

RbThreadSleep calls `rb_thread_sleep` in C

Original definition is following

void rb_thread_sleep(int sec)

func RbThreadSleepDeadly

func RbThreadSleepDeadly()

RbThreadSleepDeadly calls `rb_thread_sleep_deadly` in C

Original definition is following

void rb_thread_sleep_deadly(void)

func RbThreadSleepForever

func RbThreadSleepForever()

RbThreadSleepForever calls `rb_thread_sleep_forever` in C

Original definition is following

void rb_thread_sleep_forever(void)

func RbThreadWaitFd

func RbThreadWaitFd(fd int) int

RbThreadWaitFd calls `rb_thread_wait_fd` in C

Original definition is following

int rb_thread_wait_fd(int fd)

func RbThreadWaitFor

func RbThreadWaitFor(time Timeval)

RbThreadWaitFor calls `rb_thread_wait_for` in C

Original definition is following

void rb_thread_wait_for(struct timeval time)

func RbThrow

func RbThrow(tag string, val VALUE)

RbThrow calls `rb_throw` in C

Original definition is following

void rb_throw(const char *tag, VALUE val)

func RbThrowObj

func RbThrowObj(tag VALUE, val VALUE)

RbThrowObj calls `rb_throw_obj` in C

Original definition is following

void rb_throw_obj(VALUE tag, VALUE val)

func RbTimespecNow

func RbTimespecNow(ts *Timespec)

RbTimespecNow calls `rb_timespec_now` in C

Original definition is following

void rb_timespec_now(struct timespec *ts)

func RbTolower

func RbTolower(c int) int

RbTolower calls `rb_tolower` in C

Original definition is following

rb_tolower(int c)

func RbToupper

func RbToupper(c int) int

RbToupper calls `rb_toupper` in C

Original definition is following

rb_toupper(int c)

func RbTypeddataInheritedP

func RbTypeddataInheritedP(child *RbDataTypeT, parent *RbDataTypeT) int

RbTypeddataInheritedP calls `rb_typeddata_inherited_p` in C

Original definition is following

int rb_typeddata_inherited_p(const rb_data_type_t *child, const rb_data_type_t *parent)

func RbTypeddataIsKindOf

func RbTypeddataIsKindOf(obj VALUE, data_type *RbDataTypeT) int

RbTypeddataIsKindOf calls `rb_typeddata_is_kind_of` in C

Original definition is following

int rb_typeddata_is_kind_of(VALUE obj, const rb_data_type_t *data_type)

func RbUndef

func RbUndef(mod VALUE, mid ID)

RbUndef calls `rb_undef` in C

Original definition is following

void rb_undef(VALUE mod, ID mid)

func RbUndefAllocFunc

func RbUndefAllocFunc(klass VALUE)

RbUndefAllocFunc calls `rb_undef_alloc_func` in C

Original definition is following

void rb_undef_alloc_func(VALUE klass)

func RbUndefMethod

func RbUndefMethod(klass VALUE, name string)

RbUndefMethod calls `rb_undef_method` in C

Original definition is following

void rb_undef_method(VALUE klass, const char *name)

func RbUnexpectedType

func RbUnexpectedType(self VALUE, t int)

RbUnexpectedType calls `rb_unexpected_type` in C

Original definition is following

void rb_unexpected_type(VALUE self, int t)

func RbUpdateMaxFd

func RbUpdateMaxFd(fd int)

RbUpdateMaxFd calls `rb_update_max_fd` in C

Original definition is following

void rb_update_max_fd(int fd)

func RbUvToUtf8

func RbUvToUtf8(buf []Char, uv uint) int

RbUvToUtf8 calls `rb_uv_to_utf8` in C

Original definition is following

int rb_uv_to_utf8(char buf[6], unsigned long uv)

func RbWriteError

func RbWriteError(str string)

RbWriteError calls `rb_write_error` in C

Original definition is following

void rb_write_error(const char *str)

func RbWriteError2

func RbWriteError2(str string, len Long)

RbWriteError2 calls `rb_write_error2` in C

Original definition is following

void rb_write_error2(const char *str, long len)

func Value2String

func Value2String(str VALUE) string

Value2String convert from VALUE to Go string

Types

type Bool

type Bool C.bool

Bool is a type for passing `C.bool` in and out of package

func RB_DYNAMIC_SYM_P

func RB_DYNAMIC_SYM_P(obj VALUE) Bool

RB_DYNAMIC_SYM_P calls `RB_DYNAMIC_SYM_P` in C

Original definition is following

RB_DYNAMIC_SYM_P(VALUE obj)

func RB_FIXNUM_P

func RB_FIXNUM_P(obj VALUE) Bool

RB_FIXNUM_P calls `RB_FIXNUM_P` in C

Original definition is following

RB_FIXNUM_P(VALUE obj)

func RB_FLOAT_TYPE_P

func RB_FLOAT_TYPE_P(obj VALUE) Bool

RB_FLOAT_TYPE_P calls `RB_FLOAT_TYPE_P` in C

Original definition is following

RB_FLOAT_TYPE_P(VALUE obj)

func RB_FLONUM_P

func RB_FLONUM_P(obj VALUE) Bool

RB_FLONUM_P calls `RB_FLONUM_P` in C

Original definition is following

RB_FLONUM_P(VALUE obj)

func RB_FL_ABLE

func RB_FL_ABLE(obj VALUE) Bool

RB_FL_ABLE calls `RB_FL_ABLE` in C

Original definition is following

RB_FL_ABLE(VALUE obj)

func RB_FL_ALL

func RB_FL_ALL(obj VALUE, flags VALUE) Bool

RB_FL_ALL calls `RB_FL_ALL` in C

Original definition is following

RB_FL_ALL(VALUE obj, VALUE flags)

func RB_FL_ALL_RAW

func RB_FL_ALL_RAW(obj VALUE, flags VALUE) Bool

RB_FL_ALL_RAW calls `RB_FL_ALL_RAW` in C

Original definition is following

RB_FL_ALL_RAW(VALUE obj, VALUE flags)

func RB_FL_ANY

func RB_FL_ANY(obj VALUE, flags VALUE) Bool

RB_FL_ANY calls `RB_FL_ANY` in C

Original definition is following

RB_FL_ANY(VALUE obj, VALUE flags)

func RB_FL_ANY_RAW

func RB_FL_ANY_RAW(obj VALUE, flags VALUE) Bool

RB_FL_ANY_RAW calls `RB_FL_ANY_RAW` in C

Original definition is following

RB_FL_ANY_RAW(VALUE obj, VALUE flags)

func RB_IMMEDIATE_P

func RB_IMMEDIATE_P(obj VALUE) Bool

RB_IMMEDIATE_P calls `RB_IMMEDIATE_P` in C

Original definition is following

RB_IMMEDIATE_P(VALUE obj)

func RB_NIL_OR_UNDEF_P

func RB_NIL_OR_UNDEF_P(obj VALUE) Bool

RB_NIL_OR_UNDEF_P calls `RB_NIL_OR_UNDEF_P` in C

Original definition is following

RB_NIL_OR_UNDEF_P(VALUE obj)

func RB_NIL_P

func RB_NIL_P(obj VALUE) Bool

RB_NIL_P calls `RB_NIL_P` in C

Original definition is following

RB_NIL_P(VALUE obj)

func RB_OBJ_FROZEN

func RB_OBJ_FROZEN(obj VALUE) Bool

RB_OBJ_FROZEN calls `RB_OBJ_FROZEN` in C

Original definition is following

RB_OBJ_FROZEN(VALUE obj)

func RB_OBJ_PROMOTED

func RB_OBJ_PROMOTED(obj VALUE) Bool

RB_OBJ_PROMOTED calls `RB_OBJ_PROMOTED` in C

Original definition is following

RB_OBJ_PROMOTED(VALUE obj)

func RB_OBJ_PROMOTED_RAW

func RB_OBJ_PROMOTED_RAW(obj VALUE) Bool

RB_OBJ_PROMOTED_RAW calls `RB_OBJ_PROMOTED_RAW` in C

Original definition is following

RB_OBJ_PROMOTED_RAW(VALUE obj)

func RB_SPECIAL_CONST_P

func RB_SPECIAL_CONST_P(obj VALUE) Bool

RB_SPECIAL_CONST_P calls `RB_SPECIAL_CONST_P` in C

Original definition is following

RB_SPECIAL_CONST_P(VALUE obj)

func RB_STATIC_SYM_P

func RB_STATIC_SYM_P(obj VALUE) Bool

RB_STATIC_SYM_P calls `RB_STATIC_SYM_P` in C

Original definition is following

RB_STATIC_SYM_P(VALUE obj)

func RB_SYMBOL_P

func RB_SYMBOL_P(obj VALUE) Bool

RB_SYMBOL_P calls `RB_SYMBOL_P` in C

Original definition is following

RB_SYMBOL_P(VALUE obj)

func RB_TEST

func RB_TEST(obj VALUE) Bool

RB_TEST calls `RB_TEST` in C

Original definition is following

RB_TEST(VALUE obj)

func RB_TYPE_P

func RB_TYPE_P(obj VALUE, t RubyValueType) Bool

RB_TYPE_P calls `RB_TYPE_P` in C

Original definition is following

RB_TYPE_P(VALUE obj, enum ruby_value_type t)

func RB_UNDEF_P

func RB_UNDEF_P(obj VALUE) Bool

RB_UNDEF_P calls `RB_UNDEF_P` in C

Original definition is following

RB_UNDEF_P(VALUE obj)

func RbIntegerTypeP

func RbIntegerTypeP(obj VALUE) Bool

RbIntegerTypeP calls `rb_integer_type_p` in C

Original definition is following

rb_integer_type_p(VALUE obj)

func RbScanArgsFBlock

func RbScanArgsFBlock(fmt string) Bool

RbScanArgsFBlock calls `rb_scan_args_f_block` in C

Original definition is following

rb_scan_args_f_block(const char *fmt)

func RbScanArgsFHash

func RbScanArgsFHash(fmt string) Bool

RbScanArgsFHash calls `rb_scan_args_f_hash` in C

Original definition is following

rb_scan_args_f_hash(const char *fmt)

func RbScanArgsFVar

func RbScanArgsFVar(fmt string) Bool

RbScanArgsFVar calls `rb_scan_args_f_var` in C

Original definition is following

rb_scan_args_f_var(const char *fmt)

func RbScanArgsKeywordP

func RbScanArgsKeywordP(kw_flag int, last VALUE) Bool

RbScanArgsKeywordP calls `rb_scan_args_keyword_p` in C

Original definition is following

rb_scan_args_keyword_p(int kw_flag, VALUE last)

func RbScanArgsLeadP

func RbScanArgsLeadP(fmt string) Bool

RbScanArgsLeadP calls `rb_scan_args_lead_p` in C

Original definition is following

rb_scan_args_lead_p(const char *fmt)

func RbScanArgsOptP

func RbScanArgsOptP(fmt string) Bool

RbScanArgsOptP calls `rb_scan_args_opt_p` in C

Original definition is following

rb_scan_args_opt_p(const char *fmt)

func (Bool) IsFalse

func (b Bool) IsFalse() bool

IsFalse checks whether false

func (Bool) IsTrue

func (b Bool) IsTrue() bool

IsTrue checks whether true

type Char

type Char C.char

Char is a type for passing `C.char` in and out of package

func RSTRING_PTR

func RSTRING_PTR(str VALUE) *Char

RSTRING_PTR calls `RSTRING_PTR` in C

Original definition is following

RSTRING_PTR(VALUE str)

func RbNum2CharInline

func RbNum2CharInline(x VALUE) Char

RbNum2CharInline calls `rb_num2char_inline` in C

Original definition is following

rb_num2char_inline(VALUE x)

func String2Char

func String2Char(str string) (*Char, func())

String2Char convert from Go string to *Char

2nd return value is a function to free pointer. To prevent memory leaks, this function MUST always be called with `defer` when calling this function.

Example

char, clean := ruby.String2Char("ABCD")
defer clean()

func Strings2Chars

func Strings2Chars(strs []string) (**Char, func())

Strings2Chars convert from Go strings to **Char

2nd return value is a function to free pointer. To prevent memory leaks, this function MUST always be called with `defer` when calling this function.

Example

chars, clean := ruby.Strings2Chars([]string{"ABCD"})
defer clean()

type Double

type Double C.double

Double is a type for passing `C.double` in and out of package

func RbBig2Dbl

func RbBig2Dbl(x VALUE) Double

RbBig2Dbl calls `rb_big2dbl` in C

Original definition is following

double rb_big2dbl(VALUE x)

func RbCstrToDbl

func RbCstrToDbl(str string, mode int) Double

RbCstrToDbl calls `rb_cstr_to_dbl` in C

Original definition is following

double rb_cstr_to_dbl(const char *str, int mode)

func RbFloatValue

func RbFloatValue(num VALUE) Double

RbFloatValue calls `rb_float_value` in C

Original definition is following

double rb_float_value(VALUE num)

func RbGenrandReal

func RbGenrandReal() Double

RbGenrandReal calls `rb_genrand_real` in C

Original definition is following

double rb_genrand_real(void)

func RbNum2Dbl

func RbNum2Dbl(num VALUE) Double

RbNum2Dbl calls `rb_num2dbl` in C

Original definition is following

double rb_num2dbl(VALUE num)

func RbRandomReal

func RbRandomReal(rnd VALUE) Double

RbRandomReal calls `rb_random_real` in C

Original definition is following

double rb_random_real(VALUE rnd)

func RbStrToDbl

func RbStrToDbl(str VALUE, mode int) Double

RbStrToDbl calls `rb_str_to_dbl` in C

Original definition is following

double rb_str_to_dbl(VALUE str, int mode)

type FdSet

type FdSet C.fd_set

FdSet is a type for passing `C.fd_set` in and out of package

func RbFdPtr

func RbFdPtr(f *RbFdsetT) *FdSet

RbFdPtr calls `rb_fd_ptr` in C

Original definition is following

rb_fd_ptr(const rb_fdset_t *f)

type ID

type ID C.ID

ID is a type for passing `C.ID` in and out of package

func RbCheckId

func RbCheckId(namep *VALUE) ID

RbCheckId calls `rb_check_id` in C

Original definition is following

ID rb_check_id(volatile VALUE *namep)

func RbFrameCallee

func RbFrameCallee() ID

RbFrameCallee calls `rb_frame_callee` in C

Original definition is following

ID rb_frame_callee(void)

func RbFrameThisFunc

func RbFrameThisFunc() ID

RbFrameThisFunc calls `rb_frame_this_func` in C

Original definition is following

ID rb_frame_this_func(void)

func RbIdAttrset

func RbIdAttrset(id ID) ID

RbIdAttrset calls `rb_id_attrset` in C

Original definition is following

ID rb_id_attrset(ID id)

func RbIntern

func RbIntern(name string) ID

RbIntern calls `rb_intern` in C

Original definition is following

ID rb_intern(const char *name)

func RbIntern2

func RbIntern2(name string, len Long) ID

RbIntern2 calls `rb_intern2` in C

Original definition is following

ID rb_intern2(const char *name, long len)

func RbInternConst

func RbInternConst(str string) ID

RbInternConst calls `rb_intern_const` in C

Original definition is following

rb_intern_const(const char *str)

func RbInternStr

func RbInternStr(str VALUE) ID

RbInternStr calls `rb_intern_str` in C

Original definition is following

ID rb_intern_str(VALUE str)

func RbSym2Id

func RbSym2Id(obj VALUE) ID

RbSym2Id calls `rb_sym2id` in C

Original definition is following

ID rb_sym2id(VALUE obj)

func RbToId

func RbToId(str VALUE) ID

RbToId calls `rb_to_id` in C

Original definition is following

ID rb_to_id(VALUE str)

type Int

type Int C.int

Int is a type for passing `C.int` in and out of package

func RbErrnoPtr

func RbErrnoPtr() *Int

RbErrnoPtr calls `rb_errno_ptr` in C

Original definition is following

int *rb_errno_ptr(void)

func RbOrigErrnoPtr

func RbOrigErrnoPtr() *Int

RbOrigErrnoPtr calls `rb_orig_errno_ptr` in C

Original definition is following

rb_orig_errno_ptr(void)

type IntptrT

type IntptrT C.intptr_t

IntptrT is a type for passing `C.intptr_t` in and out of package

type Long

type Long C.long

Long is a type for passing `C.long` in and out of package

func NUM2LONG

func NUM2LONG(num VALUE) Long

NUM2LONG is alias to [RbNum2long]

func RSTRING_LEN

func RSTRING_LEN(str VALUE) Long

RSTRING_LEN calls `RSTRING_LEN` in C

Original definition is following

RSTRING_LEN(VALUE str)

func RbArrayLen

func RbArrayLen(a VALUE) Long

RbArrayLen calls `rb_array_len` in C

Original definition is following

rb_array_len(VALUE a)

func RbBig2Long

func RbBig2Long(x VALUE) Long

RbBig2Long calls `rb_big2long` in C

Original definition is following

long rb_big2long(VALUE x)

func RbFix2Int

func RbFix2Int(num VALUE) Long

RbFix2Int calls `rb_fix2int` in C

Original definition is following

long rb_fix2int(VALUE num)

func RbFix2Long

func RbFix2Long(x VALUE) Long

RbFix2Long calls `rb_fix2long` in C

Original definition is following

rb_fix2long(VALUE x)

func RbNum2Int

func RbNum2Int(num VALUE) Long

RbNum2Int calls `rb_num2int` in C

Original definition is following

long rb_num2int(VALUE num)

func RbNum2Long

func RbNum2Long(num VALUE) Long

RbNum2Long calls `rb_num2long` in C

Original definition is following

long rb_num2long(VALUE num)

func RbNum2LongInline

func RbNum2LongInline(x VALUE) Long

RbNum2LongInline calls `rb_num2long_inline` in C

Original definition is following

rb_num2long_inline(VALUE x)

func RbStrOffset

func RbStrOffset(str VALUE, pos Long) Long

RbStrOffset calls `rb_str_offset` in C

Original definition is following

long rb_str_offset(VALUE str, long pos)

func RbStrStrlen

func RbStrStrlen(str VALUE) Long

RbStrStrlen calls `rb_str_strlen` in C

Original definition is following

long rb_str_strlen(VALUE str)

func RbStrSublen

func RbStrSublen(str VALUE, pos Long) Long

RbStrSublen calls `rb_str_sublen` in C

Original definition is following

long rb_str_sublen(VALUE str, long pos)

func StringLen

func StringLen(str string) Long

StringLen returns string length as Long

type Longlong

type Longlong C.longlong

Longlong is a type for passing `C.longlong` in and out of package

func RbBig2Ll

func RbBig2Ll(arg1 VALUE) Longlong

RbBig2Ll calls `rb_big2ll` in C

Original definition is following

rb_big2ll(VALUE)

func RbNum2Ll

func RbNum2Ll(num VALUE) Longlong

RbNum2Ll calls `rb_num2ll` in C

Original definition is following

rb_num2ll(VALUE num)

func RbNum2LlInline

func RbNum2LlInline(x VALUE) Longlong

RbNum2LlInline calls `rb_num2ll_inline` in C

Original definition is following

rb_num2ll_inline(VALUE x)

type ModeT

type ModeT C.mode_t

ModeT is a type for passing `C.mode_t` in and out of package

type OffT

type OffT C.off_t

OffT is a type for passing `C.off_t` in and out of package

func RbFileSize

func RbFileSize(file VALUE) OffT

RbFileSize calls `rb_file_size` in C

Original definition is following

off_t rb_file_size(VALUE file)

type PidT

type PidT C.pid_t

PidT is a type for passing `C.pid_t` in and out of package

func RbSpawn

func RbSpawn(argc int, argv *VALUE) PidT

RbSpawn calls `rb_spawn` in C

Original definition is following

pid_t rb_spawn(int argc, const VALUE *argv)

func RbSpawnErr

func RbSpawnErr(argc int, argv *VALUE, errbuf string, buflen SizeT) PidT

RbSpawnErr calls `rb_spawn_err` in C

Original definition is following

pid_t rb_spawn_err(int argc, const VALUE *argv, char *errbuf, size_t buflen)

func RbWaitpid

func RbWaitpid(pid PidT, status *int, flags int) PidT

RbWaitpid calls `rb_waitpid` in C

Original definition is following

pid_t rb_waitpid(pid_t pid, int *status, int flags)

type RbAllocFuncT

type RbAllocFuncT C.rb_alloc_func_t

RbAllocFuncT is a type for passing `C.rb_alloc_func_t` in and out of package

type RbArithmeticSequenceComponentsT

type RbArithmeticSequenceComponentsT C.rb_arithmetic_sequence_components_t

RbArithmeticSequenceComponentsT is a type for passing `C.rb_arithmetic_sequence_components_t` in and out of package

type RbBlockCallFunc

type RbBlockCallFunc C.rb_block_call_func

RbBlockCallFunc is a type for passing `C.rb_block_call_func` in and out of package

type RbBlockCallFuncT

type RbBlockCallFuncT C.rb_block_call_func_t

RbBlockCallFuncT is a type for passing `C.rb_block_call_func_t` in and out of package

type RbBlockingFunctionT

type RbBlockingFunctionT C.rb_blocking_function_t

RbBlockingFunctionT is a type for passing `C.rb_blocking_function_t` in and out of package

type RbDataTypeT

type RbDataTypeT C.rb_data_type_t

RbDataTypeT is a type for passing `C.rb_data_type_t` in and out of package

type RbEnumeratorSizeFunc

type RbEnumeratorSizeFunc C.rb_enumerator_size_func

RbEnumeratorSizeFunc is a type for passing `C.rb_enumerator_size_func` in and out of package

type RbEventFlagT

type RbEventFlagT C.rb_event_flag_t

RbEventFlagT is a type for passing `C.rb_event_flag_t` in and out of package

type RbEventHookFuncT

type RbEventHookFuncT C.rb_event_hook_func_t

RbEventHookFuncT is a type for passing `C.rb_event_hook_func_t` in and out of package

type RbFdsetT

type RbFdsetT C.rb_fdset_t

RbFdsetT is a type for passing `C.rb_fdset_t` in and out of package

type RbGvarGetterT

type RbGvarGetterT C.rb_gvar_getter_t

RbGvarGetterT is a type for passing `C.rb_gvar_getter_t` in and out of package

type RbGvarMarkerT

type RbGvarMarkerT C.rb_gvar_marker_t

RbGvarMarkerT is a type for passing `C.rb_gvar_marker_t` in and out of package

type RbGvarSetterT

type RbGvarSetterT C.rb_gvar_setter_t

RbGvarSetterT is a type for passing `C.rb_gvar_setter_t` in and out of package

type RbHashUpdateFunc

type RbHashUpdateFunc C.rb_hash_update_func

RbHashUpdateFunc is a type for passing `C.rb_hash_update_func` in and out of package

type RbIoWaitReadwrite

type RbIoWaitReadwrite int

RbIoWaitReadwrite is a type for passing `C.rb_io_wait_readwrite` in and out of package

const (
	RB_IO_WAIT_READABLE RbIoWaitReadwrite = C.RB_IO_WAIT_READABLE
	RB_IO_WAIT_WRITABLE RbIoWaitReadwrite = C.RB_IO_WAIT_WRITABLE
)

RbIoWaitReadwrite enumeration

type RbUnblockFunctionT

type RbUnblockFunctionT C.rb_unblock_function_t

RbUnblockFunctionT is a type for passing `C.rb_unblock_function_t` in and out of package

type RbWarningCategoryT

type RbWarningCategoryT C.rb_warning_category_t

RbWarningCategoryT is a type for passing `C.rb_warning_category_t` in and out of package

type RubyValueType

type RubyValueType int

RubyValueType is a type for passing `C.ruby_value_type` in and out of package

const (
	RUBY_T_ARRAY    RubyValueType = C.RUBY_T_ARRAY
	RUBY_T_BIGNUM   RubyValueType = C.RUBY_T_BIGNUM
	RUBY_T_CLASS    RubyValueType = C.RUBY_T_CLASS
	RUBY_T_COMPLEX  RubyValueType = C.RUBY_T_COMPLEX
	RUBY_T_DATA     RubyValueType = C.RUBY_T_DATA
	RUBY_T_FALSE    RubyValueType = C.RUBY_T_FALSE
	RUBY_T_FILE     RubyValueType = C.RUBY_T_FILE
	RUBY_T_FIXNUM   RubyValueType = C.RUBY_T_FIXNUM
	RUBY_T_FLOAT    RubyValueType = C.RUBY_T_FLOAT
	RUBY_T_HASH     RubyValueType = C.RUBY_T_HASH
	RUBY_T_ICLASS   RubyValueType = C.RUBY_T_ICLASS
	RUBY_T_IMEMO    RubyValueType = C.RUBY_T_IMEMO
	RUBY_T_MASK     RubyValueType = C.RUBY_T_MASK
	RUBY_T_MATCH    RubyValueType = C.RUBY_T_MATCH
	RUBY_T_MODULE   RubyValueType = C.RUBY_T_MODULE
	RUBY_T_MOVED    RubyValueType = C.RUBY_T_MOVED
	RUBY_T_NIL      RubyValueType = C.RUBY_T_NIL
	RUBY_T_NODE     RubyValueType = C.RUBY_T_NODE
	RUBY_T_NONE     RubyValueType = C.RUBY_T_NONE
	RUBY_T_OBJECT   RubyValueType = C.RUBY_T_OBJECT
	RUBY_T_RATIONAL RubyValueType = C.RUBY_T_RATIONAL
	RUBY_T_REGEXP   RubyValueType = C.RUBY_T_REGEXP
	RUBY_T_STRING   RubyValueType = C.RUBY_T_STRING
	RUBY_T_STRUCT   RubyValueType = C.RUBY_T_STRUCT
	RUBY_T_SYMBOL   RubyValueType = C.RUBY_T_SYMBOL
	RUBY_T_TRUE     RubyValueType = C.RUBY_T_TRUE
	RUBY_T_UNDEF    RubyValueType = C.RUBY_T_UNDEF
	RUBY_T_ZOMBIE   RubyValueType = C.RUBY_T_ZOMBIE
)

RubyValueType enumeration

func RB_BUILTIN_TYPE

func RB_BUILTIN_TYPE(obj VALUE) RubyValueType

RB_BUILTIN_TYPE calls `RB_BUILTIN_TYPE` in C

Original definition is following

RB_BUILTIN_TYPE(VALUE obj)

func RbType

func RbType(obj VALUE) RubyValueType

RbType calls `rb_type` in C

Original definition is following

rb_type(VALUE obj)

type Short

type Short C.short

Short is a type for passing `C.short` in and out of package

func RbFix2Short

func RbFix2Short(num VALUE) Short

RbFix2Short calls `rb_fix2short` in C

Original definition is following

short rb_fix2short(VALUE num)

func RbNum2Short

func RbNum2Short(num VALUE) Short

RbNum2Short calls `rb_num2short` in C

Original definition is following

short rb_num2short(VALUE num)

func RbNum2ShortInline

func RbNum2ShortInline(x VALUE) Short

RbNum2ShortInline calls `rb_num2short_inline` in C

Original definition is following

rb_num2short_inline(VALUE x)

type SizeT

type SizeT C.size_t

SizeT is a type for passing `C.size_t` in and out of package

func RbAbsintNumwords

func RbAbsintNumwords(val VALUE, word_numbits SizeT, nlz_bits_ret *SizeT) SizeT

RbAbsintNumwords calls `rb_absint_numwords` in C

Original definition is following

size_t rb_absint_numwords(VALUE val, size_t word_numbits, size_t *nlz_bits_ret)

func RbAbsintSize

func RbAbsintSize(val VALUE, nlz_bits_ret *int) SizeT

RbAbsintSize calls `rb_absint_size` in C

Original definition is following

size_t rb_absint_size(VALUE val, int *nlz_bits_ret)

func RbGcCount

func RbGcCount() SizeT

RbGcCount calls `rb_gc_count` in C

Original definition is following

size_t rb_gc_count(void)

func RbGcStat

func RbGcStat(key_or_buf VALUE) SizeT

RbGcStat calls `rb_gc_stat` in C

Original definition is following

size_t rb_gc_stat(VALUE key_or_buf)

func RbHashSizeNum

func RbHashSizeNum(hash VALUE) SizeT

RbHashSizeNum calls `rb_hash_size_num` in C

Original definition is following

size_t rb_hash_size_num(VALUE hash)

func RbStMemsize

func RbStMemsize(arg1 *StTable) SizeT

RbStMemsize calls `rb_st_memsize` in C

Original definition is following

__attribute__((__pure__)) size_t rb_st_memsize(const st_table *)

func RbStTableSize

func RbStTableSize(tbl *StTable) SizeT

RbStTableSize calls `rb_st_table_size` in C

Original definition is following

size_t rb_st_table_size(const struct st_table *tbl)

func RbStrCapacity

func RbStrCapacity(str VALUE) SizeT

RbStrCapacity calls `rb_str_capacity` in C

Original definition is following

size_t rb_str_capacity(VALUE str)

type SsizeT

type SsizeT C.ssize_t

SsizeT is a type for passing `C.ssize_t` in and out of package

type StCheckForSizeofStIndexT

type StCheckForSizeofStIndexT C.st_check_for_sizeof_st_index_t

StCheckForSizeofStIndexT is a type for passing `C.st_check_for_sizeof_st_index_t` in and out of package

type StCompareFunc

type StCompareFunc C.st_compare_func

StCompareFunc is a type for passing `C.st_compare_func` in and out of package

type StDataT

type StDataT C.st_data_t

StDataT is a type for passing `C.st_data_t` in and out of package

type StForeachCallbackFunc

type StForeachCallbackFunc C.st_foreach_callback_func

StForeachCallbackFunc is a type for passing `C.st_foreach_callback_func` in and out of package

type StForeachCheckCallbackFunc

type StForeachCheckCallbackFunc C.st_foreach_check_callback_func

StForeachCheckCallbackFunc is a type for passing `C.st_foreach_check_callback_func` in and out of package

type StHashFunc

type StHashFunc C.st_hash_func

StHashFunc is a type for passing `C.st_hash_func` in and out of package

type StHashType

type StHashType StructStHashType

StHashType is alias to StructStHashType

type StIndexT

type StIndexT C.st_index_t

StIndexT is a type for passing `C.st_index_t` in and out of package

func RbHashStart

func RbHashStart(i StIndexT) StIndexT

RbHashStart calls `rb_hash_start` in C

Original definition is following

st_index_t rb_hash_start(st_index_t i)

func RbIvarCount

func RbIvarCount(obj VALUE) StIndexT

RbIvarCount calls `rb_ivar_count` in C

Original definition is following

st_index_t rb_ivar_count(VALUE obj)

func RbMemhash

func RbMemhash(ptr unsafe.Pointer, len Long) StIndexT

RbMemhash calls `rb_memhash` in C

Original definition is following

st_index_t rb_memhash(const void *ptr, long len)

func RbStHash

func RbStHash(ptr unsafe.Pointer, len SizeT, h StIndexT) StIndexT

RbStHash calls `rb_st_hash` in C

Original definition is following

__attribute__((__pure__)) st_index_t rb_st_hash(const void *ptr, size_t len, st_index_t h)

func RbStHashEnd

func RbStHashEnd(h StIndexT) StIndexT

RbStHashEnd calls `rb_st_hash_end` in C

Original definition is following

__attribute__((__const__)) st_index_t rb_st_hash_end(st_index_t h)

func RbStHashStart

func RbStHashStart(h StIndexT) StIndexT

RbStHashStart calls `rb_st_hash_start` in C

Original definition is following

__attribute__((__const__)) st_index_t rb_st_hash_start(st_index_t h)

func RbStHashUint

func RbStHashUint(h StIndexT, i StIndexT) StIndexT

RbStHashUint calls `rb_st_hash_uint` in C

Original definition is following

__attribute__((__const__)) st_index_t rb_st_hash_uint(st_index_t h, st_index_t i)

func RbStHashUint32

func RbStHashUint32(h StIndexT, i Uint32T) StIndexT

RbStHashUint32 calls `rb_st_hash_uint32` in C

Original definition is following

__attribute__((__const__)) st_index_t rb_st_hash_uint32(st_index_t h, uint32_t i)

func RbStKeys

func RbStKeys(table *StTable, keys *StDataT, size StIndexT) StIndexT

RbStKeys calls `rb_st_keys` in C

Original definition is following

st_index_t rb_st_keys(st_table *table, st_data_t *keys, st_index_t size)

func RbStKeysCheck

func RbStKeysCheck(table *StTable, keys *StDataT, size StIndexT, never StDataT) StIndexT

RbStKeysCheck calls `rb_st_keys_check` in C

Original definition is following

st_index_t rb_st_keys_check(st_table *table, st_data_t *keys, st_index_t size, st_data_t never)

func RbStNumhash

func RbStNumhash(arg1 StDataT) StIndexT

RbStNumhash calls `rb_st_numhash` in C

Original definition is following

__attribute__((__const__)) st_index_t rb_st_numhash(st_data_t)

func RbStValues

func RbStValues(table *StTable, values *StDataT, size StIndexT) StIndexT

RbStValues calls `rb_st_values` in C

Original definition is following

st_index_t rb_st_values(st_table *table, st_data_t *values, st_index_t size)

func RbStValuesCheck

func RbStValuesCheck(table *StTable, values *StDataT, size StIndexT, never StDataT) StIndexT

RbStValuesCheck calls `rb_st_values_check` in C

Original definition is following

st_index_t rb_st_values_check(st_table *table, st_data_t *values, st_index_t size, st_data_t never)

func RbStrHash

func RbStrHash(str VALUE) StIndexT

RbStrHash calls `rb_str_hash` in C

Original definition is following

st_index_t rb_str_hash(VALUE str)

type StTable

type StTable C.st_table

StTable is a type for passing `C.st_table` in and out of package

func RbHashTbl

func RbHashTbl(hash VALUE, file string, line int) *StTable

RbHashTbl calls `rb_hash_tbl` in C

Original definition is following

struct st_table *rb_hash_tbl(VALUE hash, const char *file, int line)

func RbStCopy

func RbStCopy(arg1 *StTable) *StTable

RbStCopy calls `rb_st_copy` in C

Original definition is following

st_table *rb_st_copy(st_table *)

func RbStInitExistingTableWithSize

func RbStInitExistingTableWithSize(tab *StTable, t *StHashType, size StIndexT) *StTable

RbStInitExistingTableWithSize calls `rb_st_init_existing_table_with_size` in C

Original definition is following

st_table *rb_st_init_existing_table_with_size(st_table *tab, const struct st_hash_type *type, st_index_t size)

func RbStInitNumtable

func RbStInitNumtable() *StTable

RbStInitNumtable calls `rb_st_init_numtable` in C

Original definition is following

st_table *rb_st_init_numtable(void)

func RbStInitNumtableWithSize

func RbStInitNumtableWithSize(arg1 StIndexT) *StTable

RbStInitNumtableWithSize calls `rb_st_init_numtable_with_size` in C

Original definition is following

st_table *rb_st_init_numtable_with_size(st_index_t)

func RbStInitStrcasetable

func RbStInitStrcasetable() *StTable

RbStInitStrcasetable calls `rb_st_init_strcasetable` in C

Original definition is following

st_table *rb_st_init_strcasetable(void)

func RbStInitStrcasetableWithSize

func RbStInitStrcasetableWithSize(arg1 StIndexT) *StTable

RbStInitStrcasetableWithSize calls `rb_st_init_strcasetable_with_size` in C

Original definition is following

st_table *rb_st_init_strcasetable_with_size(st_index_t)

func RbStInitStrtable

func RbStInitStrtable() *StTable

RbStInitStrtable calls `rb_st_init_strtable` in C

Original definition is following

st_table *rb_st_init_strtable(void)

func RbStInitStrtableWithSize

func RbStInitStrtableWithSize(arg1 StIndexT) *StTable

RbStInitStrtableWithSize calls `rb_st_init_strtable_with_size` in C

Original definition is following

st_table *rb_st_init_strtable_with_size(st_index_t)

func RbStInitTable

func RbStInitTable(arg1 *StHashType) *StTable

RbStInitTable calls `rb_st_init_table` in C

Original definition is following

st_table *rb_st_init_table(const struct st_hash_type *)

func RbStInitTableWithSize

func RbStInitTableWithSize(arg1 *StHashType, arg2 StIndexT) *StTable

RbStInitTableWithSize calls `rb_st_init_table_with_size` in C

Original definition is following

st_table *rb_st_init_table_with_size(const struct st_hash_type *, st_index_t)

func RbStReplace

func RbStReplace(new_tab *StTable, old_tab *StTable) *StTable

RbStReplace calls `rb_st_replace` in C

Original definition is following

st_table *rb_st_replace(st_table *new_tab, st_table *old_tab)

type StTableEntry

type StTableEntry C.st_table_entry

StTableEntry is a type for passing `C.st_table_entry` in and out of package

type StUpdateCallbackFunc

type StUpdateCallbackFunc C.st_update_callback_func

StUpdateCallbackFunc is a type for passing `C.st_update_callback_func` in and out of package

type StructStHashType

type StructStHashType C.struct_st_hash_type

StructStHashType is a type for passing `C.struct_st_hash_type` in and out of package

type StructTimespec

type StructTimespec C.struct_timespec

StructTimespec is a type for passing `C.struct_timespec` in and out of package

type StructTimeval

type StructTimeval C.struct_timeval

StructTimeval is a type for passing `C.struct_timeval` in and out of package

type TimeT

type TimeT C.time_t

TimeT is a type for passing `C.time_t` in and out of package

type Timespec

type Timespec StructTimespec

Timespec is alias to StructTimespec

func RbTimeTimespec

func RbTimeTimespec(time VALUE) Timespec

RbTimeTimespec calls `rb_time_timespec` in C

Original definition is following

struct timespec rb_time_timespec(VALUE time)

func RbTimeTimespecInterval

func RbTimeTimespecInterval(num VALUE) Timespec

RbTimeTimespecInterval calls `rb_time_timespec_interval` in C

Original definition is following

struct timespec rb_time_timespec_interval(VALUE num)

type Timeval

type Timeval StructTimeval

Timeval is alias to StructTimeval

func RbTimeInterval

func RbTimeInterval(num VALUE) Timeval

RbTimeInterval calls `rb_time_interval` in C

Original definition is following

struct timeval rb_time_interval(VALUE num)

func RbTimeTimeval

func RbTimeTimeval(time VALUE) Timeval

RbTimeTimeval calls `rb_time_timeval` in C

Original definition is following

struct timeval rb_time_timeval(VALUE time)

type Uchar

type Uchar C.uchar

Uchar is a type for passing `C.uchar` in and out of package

type Uint32T

type Uint32T C.uint32_t

Uint32T is a type for passing `C.uint32_t` in and out of package

type UintptrT

type UintptrT C.uintptr_t

UintptrT is a type for passing `C.uintptr_t` in and out of package

type Ulonglong

type Ulonglong C.ulonglong

Ulonglong is a type for passing `C.ulonglong` in and out of package

func RbBig2Ull

func RbBig2Ull(arg1 VALUE) Ulonglong

RbBig2Ull calls `rb_big2ull` in C

Original definition is following

rb_big2ull(VALUE)

func RbNum2Ull

func RbNum2Ull(num VALUE) Ulonglong

RbNum2Ull calls `rb_num2ull` in C

Original definition is following

rb_num2ull(VALUE num)

func RbNum2UllInline

func RbNum2UllInline(x VALUE) Ulonglong

RbNum2UllInline calls `rb_num2ull_inline` in C

Original definition is following

rb_num2ull_inline(VALUE x)

type Ushort

type Ushort C.ushort

Ushort is a type for passing `C.ushort` in and out of package

func RbFix2Ushort

func RbFix2Ushort(num VALUE) Ushort

RbFix2Ushort calls `rb_fix2ushort` in C

Original definition is following

unsigned short rb_fix2ushort(VALUE num)

func RbNum2Ushort

func RbNum2Ushort(num VALUE) Ushort

RbNum2Ushort calls `rb_num2ushort` in C

Original definition is following

unsigned short rb_num2ushort(VALUE num)

type VALUE

type VALUE C.VALUE

VALUE is a type for passing `C.VALUE` in and out of package

func CallFunction

func CallFunction(receiver VALUE, methodName string, args ...VALUE) VALUE

CallFunction calls receiver's method. (wrapper for RbFuncallv)

func INT2NUM

func INT2NUM(v int) VALUE

INT2NUM is alias to [RbInt2numInline]

func LONG2NUM

func LONG2NUM(v Long) VALUE

LONG2NUM is alias to [RbLong2numInline]

func NewGoStruct

func NewGoStruct(klass VALUE, goobj unsafe.Pointer) VALUE

NewGoStruct create Ruby object from Go object

Example

/*
package main

#include "example.h"

VALUE go_struct_alloc(VALUE klass);
void  rb_example_go_struct_set(VALUE self, VALUE x, VALUE y);
VALUE rb_example_go_struct_get(VALUE self);
*/
import "C"

import (
	"github.com/ruby-go-gem/go-gem-wrapper/ruby"
	"unsafe"
)

// GoStruct is internal reality of Ruby `Example::GoStruct`
type GoStruct struct {
	x int
	y int
}

//export go_struct_alloc
func go_struct_alloc(klass C.VALUE) C.VALUE {
	data := GoStruct{}
	return C.VALUE(ruby.NewGoStruct(ruby.VALUE(klass), unsafe.Pointer(&data)))
}

//export rb_example_go_struct_set
func rb_example_go_struct_set(self C.VALUE, x C.VALUE, y C.VALUE) {
	data := (*GoStruct)(ruby.GetGoStruct(ruby.VALUE(self)))
	data.x = ruby.NUM2INT(ruby.VALUE(x))
	data.y = ruby.NUM2INT(ruby.VALUE(y))
}

//export rb_example_go_struct_get
func rb_example_go_struct_get(self C.VALUE) C.VALUE {
	data := (*GoStruct)(ruby.GetGoStruct(ruby.VALUE(self)))

	ret := []ruby.VALUE{
		ruby.INT2NUM(data.x),
		ruby.INT2NUM(data.y),
	}

	return C.VALUE(ruby.Slice2rbAry(ret))
}

//export Init_example
func Init_example() {
	rb_mExample := ruby.RbDefineModule("Example")

	// Create Example::GoStruct class
	rb_cGoStruct := ruby.RbDefineClassUnder(rb_mExample, "GoStruct", ruby.VALUE(C.rb_cObject))

	ruby.RbDefineAllocFunc(rb_cGoStruct, C.go_struct_alloc)

	ruby.RbDefineMethod(rb_cGoStruct, "set", C.rb_example_go_struct_set, 2)
	ruby.RbDefineMethod(rb_cGoStruct, "get", C.rb_example_go_struct_get, 0)
}

func Qfalse

func Qfalse() VALUE

Qfalse returns `Qfalse` in C

func Qnil

func Qnil() VALUE

Qnil returns `Qnil` in C

func Qtrue

func Qtrue() VALUE

Qtrue returns `Qtrue` in C

func Qundef

func Qundef() VALUE

Qundef returns `Qundef` in C

func RB_CHR2FIX

func RB_CHR2FIX(c Uchar) VALUE

RB_CHR2FIX calls `RB_CHR2FIX` in C

Original definition is following

RB_CHR2FIX(unsigned char c)

func RB_FL_TEST

func RB_FL_TEST(obj VALUE, flags VALUE) VALUE

RB_FL_TEST calls `RB_FL_TEST` in C

Original definition is following

RB_FL_TEST(VALUE obj, VALUE flags)

func RB_FL_TEST_RAW

func RB_FL_TEST_RAW(obj VALUE, flags VALUE) VALUE

RB_FL_TEST_RAW calls `RB_FL_TEST_RAW` in C

Original definition is following

RB_FL_TEST_RAW(VALUE obj, VALUE flags)

func RB_INT2FIX

func RB_INT2FIX(i Long) VALUE

RB_INT2FIX calls `RB_INT2FIX` in C

Original definition is following

RB_INT2FIX(long i)

func RB_OBJ_FROZEN_RAW

func RB_OBJ_FROZEN_RAW(obj VALUE) VALUE

RB_OBJ_FROZEN_RAW calls `RB_OBJ_FROZEN_RAW` in C

Original definition is following

RB_OBJ_FROZEN_RAW(VALUE obj)

func RB_ST2FIX

func RB_ST2FIX(i StDataT) VALUE

RB_ST2FIX calls `RB_ST2FIX` in C

Original definition is following

RB_ST2FIX(st_data_t i)

func RbAnyToS

func RbAnyToS(obj VALUE) VALUE

RbAnyToS calls `rb_any_to_s` in C

Original definition is following

VALUE rb_any_to_s(VALUE obj)

func RbApply

func RbApply(recv VALUE, mid ID, args VALUE) VALUE

RbApply calls `rb_apply` in C

Original definition is following

VALUE rb_apply(VALUE recv, ID mid, VALUE args)

func RbArithmeticSequenceBegLenStep

func RbArithmeticSequenceBegLenStep(as VALUE, begp *Long, lenp *Long, stepp *Long, len Long, err int) VALUE

RbArithmeticSequenceBegLenStep calls `rb_arithmetic_sequence_beg_len_step` in C

Original definition is following

VALUE rb_arithmetic_sequence_beg_len_step(VALUE as, long *begp, long *lenp, long *stepp, long len, int err)

func RbArray

func RbArray(val VALUE) VALUE

RbArray calls `rb_Array` in C

Original definition is following

VALUE rb_Array(VALUE val)

func RbArrayConstPtr

func RbArrayConstPtr(a VALUE) *VALUE

RbArrayConstPtr calls `rb_array_const_ptr` in C

Original definition is following

rb_array_const_ptr(VALUE a)

func RbAryAref

func RbAryAref(argc int, argv *VALUE, ary VALUE) VALUE

RbAryAref calls `rb_ary_aref` in C

Original definition is following

VALUE rb_ary_aref(int argc, const VALUE *argv, VALUE ary)

func RbAryAssoc

func RbAryAssoc(alist VALUE, key VALUE) VALUE

RbAryAssoc calls `rb_ary_assoc` in C

Original definition is following

VALUE rb_ary_assoc(VALUE alist, VALUE key)

func RbAryCat

func RbAryCat(ary VALUE, train *VALUE, len Long) VALUE

RbAryCat calls `rb_ary_cat` in C

Original definition is following

VALUE rb_ary_cat(VALUE ary, const VALUE *train, long len)

func RbAryClear

func RbAryClear(ary VALUE) VALUE

RbAryClear calls `rb_ary_clear` in C

Original definition is following

VALUE rb_ary_clear(VALUE ary)

func RbAryCmp

func RbAryCmp(lhs VALUE, rhs VALUE) VALUE

RbAryCmp calls `rb_ary_cmp` in C

Original definition is following

VALUE rb_ary_cmp(VALUE lhs, VALUE rhs)

func RbAryConcat

func RbAryConcat(lhs VALUE, rhs VALUE) VALUE

RbAryConcat calls `rb_ary_concat` in C

Original definition is following

VALUE rb_ary_concat(VALUE lhs, VALUE rhs)

func RbAryDelete

func RbAryDelete(ary VALUE, elem VALUE) VALUE

RbAryDelete calls `rb_ary_delete` in C

Original definition is following

VALUE rb_ary_delete(VALUE ary, VALUE elem)

func RbAryDeleteAt

func RbAryDeleteAt(ary VALUE, pos Long) VALUE

RbAryDeleteAt calls `rb_ary_delete_at` in C

Original definition is following

VALUE rb_ary_delete_at(VALUE ary, long pos)

func RbAryDup

func RbAryDup(ary VALUE) VALUE

RbAryDup calls `rb_ary_dup` in C

Original definition is following

VALUE rb_ary_dup(VALUE ary)

func RbAryEach

func RbAryEach(ary VALUE) VALUE

RbAryEach calls `rb_ary_each` in C

Original definition is following

VALUE rb_ary_each(VALUE ary)

func RbAryEntry

func RbAryEntry(ary VALUE, off Long) VALUE

RbAryEntry calls `rb_ary_entry` in C

Original definition is following

VALUE rb_ary_entry(VALUE ary, long off)

func RbAryFreeze

func RbAryFreeze(obj VALUE) VALUE

RbAryFreeze calls `rb_ary_freeze` in C

Original definition is following

VALUE rb_ary_freeze(VALUE obj)

func RbAryHiddenNew

func RbAryHiddenNew(capa Long) VALUE

RbAryHiddenNew calls `rb_ary_hidden_new` in C

Original definition is following

VALUE rb_ary_hidden_new(long capa)

func RbAryIncludes

func RbAryIncludes(ary VALUE, elem VALUE) VALUE

RbAryIncludes calls `rb_ary_includes` in C

Original definition is following

VALUE rb_ary_includes(VALUE ary, VALUE elem)

func RbAryJoin

func RbAryJoin(ary VALUE, sep VALUE) VALUE

RbAryJoin calls `rb_ary_join` in C

Original definition is following

VALUE rb_ary_join(VALUE ary, VALUE sep)

func RbAryNew

func RbAryNew() VALUE

RbAryNew calls `rb_ary_new` in C

Original definition is following

VALUE rb_ary_new(void)

func RbAryNew2

func RbAryNew2(capa Long) VALUE

RbAryNew2 is alias to RbAryNewCapa

func RbAryNewCapa

func RbAryNewCapa(capa Long) VALUE

RbAryNewCapa calls `rb_ary_new_capa` in C

Original definition is following

VALUE rb_ary_new_capa(long capa)

func RbAryNewFromValues

func RbAryNewFromValues(n Long, elts *VALUE) VALUE

RbAryNewFromValues calls `rb_ary_new_from_values` in C

Original definition is following

VALUE rb_ary_new_from_values(long n, const VALUE *elts)

func RbAryPlus

func RbAryPlus(lhs VALUE, rhs VALUE) VALUE

RbAryPlus calls `rb_ary_plus` in C

Original definition is following

VALUE rb_ary_plus(VALUE lhs, VALUE rhs)

func RbAryPop

func RbAryPop(ary VALUE) VALUE

RbAryPop calls `rb_ary_pop` in C

Original definition is following

VALUE rb_ary_pop(VALUE ary)

func RbAryPtrUseStart

func RbAryPtrUseStart(ary VALUE) *VALUE

RbAryPtrUseStart calls `rb_ary_ptr_use_start` in C

Original definition is following

VALUE *rb_ary_ptr_use_start(VALUE ary)

func RbAryPush

func RbAryPush(ary VALUE, elem VALUE) VALUE

RbAryPush calls `rb_ary_push` in C

Original definition is following

VALUE rb_ary_push(VALUE ary, VALUE elem)

func RbAryRassoc

func RbAryRassoc(alist VALUE, key VALUE) VALUE

RbAryRassoc calls `rb_ary_rassoc` in C

Original definition is following

VALUE rb_ary_rassoc(VALUE alist, VALUE key)

func RbAryReplace

func RbAryReplace(copy VALUE, orig VALUE) VALUE

RbAryReplace calls `rb_ary_replace` in C

Original definition is following

VALUE rb_ary_replace(VALUE copy, VALUE orig)

func RbAryResize

func RbAryResize(ary VALUE, len Long) VALUE

RbAryResize calls `rb_ary_resize` in C

Original definition is following

VALUE rb_ary_resize(VALUE ary, long len)

func RbAryResurrect

func RbAryResurrect(ary VALUE) VALUE

RbAryResurrect calls `rb_ary_resurrect` in C

Original definition is following

VALUE rb_ary_resurrect(VALUE ary)

func RbAryReverse

func RbAryReverse(ary VALUE) VALUE

RbAryReverse calls `rb_ary_reverse` in C

Original definition is following

VALUE rb_ary_reverse(VALUE ary)

func RbAryRotate

func RbAryRotate(ary VALUE, rot Long) VALUE

RbAryRotate calls `rb_ary_rotate` in C

Original definition is following

VALUE rb_ary_rotate(VALUE ary, long rot)

func RbArySharedWithP

func RbArySharedWithP(lhs VALUE, rhs VALUE) VALUE

RbArySharedWithP calls `rb_ary_shared_with_p` in C

Original definition is following

VALUE rb_ary_shared_with_p(VALUE lhs, VALUE rhs)

func RbAryShift

func RbAryShift(ary VALUE) VALUE

RbAryShift calls `rb_ary_shift` in C

Original definition is following

VALUE rb_ary_shift(VALUE ary)

func RbArySort

func RbArySort(ary VALUE) VALUE

RbArySort calls `rb_ary_sort` in C

Original definition is following

VALUE rb_ary_sort(VALUE ary)

func RbArySortBang

func RbArySortBang(ary VALUE) VALUE

RbArySortBang calls `rb_ary_sort_bang` in C

Original definition is following

VALUE rb_ary_sort_bang(VALUE ary)

func RbArySubseq

func RbArySubseq(ary VALUE, beg Long, len Long) VALUE

RbArySubseq calls `rb_ary_subseq` in C

Original definition is following

VALUE rb_ary_subseq(VALUE ary, long beg, long len)

func RbAryToAry

func RbAryToAry(obj VALUE) VALUE

RbAryToAry calls `rb_ary_to_ary` in C

Original definition is following

VALUE rb_ary_to_ary(VALUE obj)

func RbAryToS

func RbAryToS(ary VALUE) VALUE

RbAryToS calls `rb_ary_to_s` in C

Original definition is following

VALUE rb_ary_to_s(VALUE ary)

func RbAryUnshift

func RbAryUnshift(ary VALUE, elem VALUE) VALUE

RbAryUnshift calls `rb_ary_unshift` in C

Original definition is following

VALUE rb_ary_unshift(VALUE ary, VALUE elem)

func RbAssocNew

func RbAssocNew(car VALUE, cdr VALUE) VALUE

RbAssocNew calls `rb_assoc_new` in C

Original definition is following

VALUE rb_assoc_new(VALUE car, VALUE cdr)

func RbAttrGet

func RbAttrGet(obj VALUE, name ID) VALUE

RbAttrGet calls `rb_attr_get` in C

Original definition is following

VALUE rb_attr_get(VALUE obj, ID name)

func RbAutoloadLoad

func RbAutoloadLoad(space VALUE, name ID) VALUE

RbAutoloadLoad calls `rb_autoload_load` in C

Original definition is following

VALUE rb_autoload_load(VALUE space, ID name)

func RbAutoloadP

func RbAutoloadP(space VALUE, name ID) VALUE

RbAutoloadP calls `rb_autoload_p` in C

Original definition is following

VALUE rb_autoload_p(VALUE space, ID name)

func RbBackrefGet

func RbBackrefGet() VALUE

RbBackrefGet calls `rb_backref_get` in C

Original definition is following

VALUE rb_backref_get(void)

func RbBig2Str

func RbBig2Str(x VALUE, base int) VALUE

RbBig2Str calls `rb_big2str` in C

Original definition is following

VALUE rb_big2str(VALUE x, int base)

func RbBigAnd

func RbBigAnd(x VALUE, y VALUE) VALUE

RbBigAnd calls `rb_big_and` in C

Original definition is following

VALUE rb_big_and(VALUE x, VALUE y)

func RbBigClone

func RbBigClone(num VALUE) VALUE

RbBigClone calls `rb_big_clone` in C

Original definition is following

VALUE rb_big_clone(VALUE num)

func RbBigCmp

func RbBigCmp(lhs VALUE, rhs VALUE) VALUE

RbBigCmp calls `rb_big_cmp` in C

Original definition is following

VALUE rb_big_cmp(VALUE lhs, VALUE rhs)

func RbBigDiv

func RbBigDiv(x VALUE, y VALUE) VALUE

RbBigDiv calls `rb_big_div` in C

Original definition is following

VALUE rb_big_div(VALUE x, VALUE y)

func RbBigDivmod

func RbBigDivmod(x VALUE, y VALUE) VALUE

RbBigDivmod calls `rb_big_divmod` in C

Original definition is following

VALUE rb_big_divmod(VALUE x, VALUE y)

func RbBigEq

func RbBigEq(lhs VALUE, rhs VALUE) VALUE

RbBigEq calls `rb_big_eq` in C

Original definition is following

VALUE rb_big_eq(VALUE lhs, VALUE rhs)

func RbBigEql

func RbBigEql(lhs VALUE, rhs VALUE) VALUE

RbBigEql calls `rb_big_eql` in C

Original definition is following

VALUE rb_big_eql(VALUE lhs, VALUE rhs)

func RbBigIdiv

func RbBigIdiv(x VALUE, y VALUE) VALUE

RbBigIdiv calls `rb_big_idiv` in C

Original definition is following

VALUE rb_big_idiv(VALUE x, VALUE y)

func RbBigLshift

func RbBigLshift(x VALUE, y VALUE) VALUE

RbBigLshift calls `rb_big_lshift` in C

Original definition is following

VALUE rb_big_lshift(VALUE x, VALUE y)

func RbBigMinus

func RbBigMinus(x VALUE, y VALUE) VALUE

RbBigMinus calls `rb_big_minus` in C

Original definition is following

VALUE rb_big_minus(VALUE x, VALUE y)

func RbBigModulo

func RbBigModulo(x VALUE, y VALUE) VALUE

RbBigModulo calls `rb_big_modulo` in C

Original definition is following

VALUE rb_big_modulo(VALUE x, VALUE y)

func RbBigMul

func RbBigMul(x VALUE, y VALUE) VALUE

RbBigMul calls `rb_big_mul` in C

Original definition is following

VALUE rb_big_mul(VALUE x, VALUE y)

func RbBigNew

func RbBigNew(len SizeT, sign int) VALUE

RbBigNew calls `rb_big_new` in C

Original definition is following

VALUE rb_big_new(size_t len, int sign)

func RbBigNorm

func RbBigNorm(x VALUE) VALUE

RbBigNorm calls `rb_big_norm` in C

Original definition is following

VALUE rb_big_norm(VALUE x)

func RbBigOr

func RbBigOr(x VALUE, y VALUE) VALUE

RbBigOr calls `rb_big_or` in C

Original definition is following

VALUE rb_big_or(VALUE x, VALUE y)

func RbBigPlus

func RbBigPlus(x VALUE, y VALUE) VALUE

RbBigPlus calls `rb_big_plus` in C

Original definition is following

VALUE rb_big_plus(VALUE x, VALUE y)

func RbBigPow

func RbBigPow(x VALUE, y VALUE) VALUE

RbBigPow calls `rb_big_pow` in C

Original definition is following

VALUE rb_big_pow(VALUE x, VALUE y)

func RbBigRshift

func RbBigRshift(x VALUE, y VALUE) VALUE

RbBigRshift calls `rb_big_rshift` in C

Original definition is following

VALUE rb_big_rshift(VALUE x, VALUE y)

func RbBigUnpack

func RbBigUnpack(buf *uint, num_longs Long) VALUE

RbBigUnpack calls `rb_big_unpack` in C

Original definition is following

VALUE rb_big_unpack(unsigned long *buf, long num_longs)

func RbBigXor

func RbBigXor(x VALUE, y VALUE) VALUE

RbBigXor calls `rb_big_xor` in C

Original definition is following

VALUE rb_big_xor(VALUE x, VALUE y)

func RbBindingNew

func RbBindingNew() VALUE

RbBindingNew calls `rb_binding_new` in C

Original definition is following

VALUE rb_binding_new(void)

func RbBlockCall

func RbBlockCall(obj VALUE, mid ID, argc int, argv *VALUE, proc RbBlockCallFuncT, data2 VALUE) VALUE

RbBlockCall calls `rb_block_call` in C

Original definition is following

VALUE rb_block_call(VALUE obj, ID mid, int argc, const VALUE *argv, rb_block_call_func_t proc, VALUE data2)

func RbBlockCallKw

func RbBlockCallKw(obj VALUE, mid ID, argc int, argv *VALUE, proc RbBlockCallFuncT, data2 VALUE, kw_splat int) VALUE

RbBlockCallKw calls `rb_block_call_kw` in C

Original definition is following

VALUE rb_block_call_kw(VALUE obj, ID mid, int argc, const VALUE *argv, rb_block_call_func_t proc, VALUE data2, int kw_splat)

func RbBlockLambda

func RbBlockLambda() VALUE

RbBlockLambda calls `rb_block_lambda` in C

Original definition is following

VALUE rb_block_lambda(void)

func RbBlockProc

func RbBlockProc() VALUE

RbBlockProc calls `rb_block_proc` in C

Original definition is following

VALUE rb_block_proc(void)

func RbCallSuper

func RbCallSuper(argc int, argv *VALUE) VALUE

RbCallSuper calls `rb_call_super` in C

Original definition is following

VALUE rb_call_super(int argc, const VALUE *argv)

func RbCallSuperKw

func RbCallSuperKw(argc int, argv *VALUE, kw_splat int) VALUE

RbCallSuperKw calls `rb_call_super_kw` in C

Original definition is following

VALUE rb_call_super_kw(int argc, const VALUE *argv, int kw_splat)

func RbCatch

func RbCatch(tag string, fun RbBlockCallFuncT, data VALUE) VALUE

RbCatch calls `rb_catch` in C

Original definition is following

VALUE rb_catch(const char *tag, rb_block_call_func_t func, VALUE data)

func RbCatchObj

func RbCatchObj(tag VALUE, fun RbBlockCallFuncT, data VALUE) VALUE

RbCatchObj calls `rb_catch_obj` in C

Original definition is following

VALUE rb_catch_obj(VALUE tag, rb_block_call_func_t func, VALUE data)

func RbCheckArrayType

func RbCheckArrayType(obj VALUE) VALUE

RbCheckArrayType calls `rb_check_array_type` in C

Original definition is following

VALUE rb_check_array_type(VALUE obj)

func RbCheckConvertType

func RbCheckConvertType(val VALUE, t int, name string, mid string) VALUE

RbCheckConvertType calls `rb_check_convert_type` in C

Original definition is following

VALUE rb_check_convert_type(VALUE val, int type, const char *name, const char *mid)

func RbCheckFuncall

func RbCheckFuncall(recv VALUE, mid ID, argc int, argv *VALUE) VALUE

RbCheckFuncall calls `rb_check_funcall` in C

Original definition is following

VALUE rb_check_funcall(VALUE recv, ID mid, int argc, const VALUE *argv)

func RbCheckFuncallKw

func RbCheckFuncallKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE

RbCheckFuncallKw calls `rb_check_funcall_kw` in C

Original definition is following

VALUE rb_check_funcall_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int kw_splat)

func RbCheckHashType

func RbCheckHashType(obj VALUE) VALUE

RbCheckHashType calls `rb_check_hash_type` in C

Original definition is following

VALUE rb_check_hash_type(VALUE obj)

func RbCheckStringType

func RbCheckStringType(obj VALUE) VALUE

RbCheckStringType calls `rb_check_string_type` in C

Original definition is following

VALUE rb_check_string_type(VALUE obj)

func RbCheckSymbol

func RbCheckSymbol(namep *VALUE) VALUE

RbCheckSymbol calls `rb_check_symbol` in C

Original definition is following

VALUE rb_check_symbol(volatile VALUE *namep)

func RbCheckToFloat

func RbCheckToFloat(val VALUE) VALUE

RbCheckToFloat calls `rb_check_to_float` in C

Original definition is following

VALUE rb_check_to_float(VALUE val)

func RbCheckToInt

func RbCheckToInt(val VALUE) VALUE

RbCheckToInt calls `rb_check_to_int` in C

Original definition is following

VALUE rb_check_to_int(VALUE val)

func RbCheckToInteger

func RbCheckToInteger(val VALUE, mid string) VALUE

RbCheckToInteger calls `rb_check_to_integer` in C

Original definition is following

VALUE rb_check_to_integer(VALUE val, const char *mid)

func RbClassAttachedObject

func RbClassAttachedObject(klass VALUE) VALUE

RbClassAttachedObject calls `rb_class_attached_object` in C

Original definition is following

VALUE rb_class_attached_object(VALUE klass)

func RbClassGetSuperclass

func RbClassGetSuperclass(klass VALUE) VALUE

RbClassGetSuperclass calls `rb_class_get_superclass` in C

Original definition is following

VALUE rb_class_get_superclass(VALUE klass)

func RbClassInheritedP

func RbClassInheritedP(scion VALUE, ascendant VALUE) VALUE

RbClassInheritedP calls `rb_class_inherited_p` in C

Original definition is following

VALUE rb_class_inherited_p(VALUE scion, VALUE ascendant)

func RbClassInstanceMethods

func RbClassInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE

RbClassInstanceMethods calls `rb_class_instance_methods` in C

Original definition is following

VALUE rb_class_instance_methods(int argc, const VALUE *argv, VALUE mod)

func RbClassName

func RbClassName(obj VALUE) VALUE

RbClassName calls `rb_class_name` in C

Original definition is following

VALUE rb_class_name(VALUE obj)

func RbClassNew

func RbClassNew(super VALUE) VALUE

RbClassNew calls `rb_class_new` in C

Original definition is following

VALUE rb_class_new(VALUE super)

func RbClassNewInstance

func RbClassNewInstance(argc int, argv *VALUE, klass VALUE) VALUE

RbClassNewInstance calls `rb_class_new_instance` in C

Original definition is following

VALUE rb_class_new_instance(int argc, const VALUE *argv, VALUE klass)

func RbClassNewInstanceKw

func RbClassNewInstanceKw(argc int, argv *VALUE, klass VALUE, kw_splat int) VALUE

RbClassNewInstanceKw calls `rb_class_new_instance_kw` in C

Original definition is following

VALUE rb_class_new_instance_kw(int argc, const VALUE *argv, VALUE klass, int kw_splat)

func RbClassNewInstancePassKw

func RbClassNewInstancePassKw(argc int, argv *VALUE, klass VALUE) VALUE

RbClassNewInstancePassKw calls `rb_class_new_instance_pass_kw` in C

Original definition is following

VALUE rb_class_new_instance_pass_kw(int argc, const VALUE *argv, VALUE klass)

func RbClassOf

func RbClassOf(obj VALUE) VALUE

RbClassOf calls `rb_class_of` in C

Original definition is following

rb_class_of(VALUE obj)

func RbClassPath

func RbClassPath(mod VALUE) VALUE

RbClassPath calls `rb_class_path` in C

Original definition is following

VALUE rb_class_path(VALUE mod)

func RbClassPathCached

func RbClassPathCached(mod VALUE) VALUE

RbClassPathCached calls `rb_class_path_cached` in C

Original definition is following

VALUE rb_class_path_cached(VALUE mod)

func RbClassPrivateInstanceMethods

func RbClassPrivateInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE

RbClassPrivateInstanceMethods calls `rb_class_private_instance_methods` in C

Original definition is following

VALUE rb_class_private_instance_methods(int argc, const VALUE *argv, VALUE mod)

func RbClassProtectedInstanceMethods

func RbClassProtectedInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE

RbClassProtectedInstanceMethods calls `rb_class_protected_instance_methods` in C

Original definition is following

VALUE rb_class_protected_instance_methods(int argc, const VALUE *argv, VALUE mod)

func RbClassPublicInstanceMethods

func RbClassPublicInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE

RbClassPublicInstanceMethods calls `rb_class_public_instance_methods` in C

Original definition is following

VALUE rb_class_public_instance_methods(int argc, const VALUE *argv, VALUE mod)

func RbClassReal

func RbClassReal(klass VALUE) VALUE

RbClassReal calls `rb_class_real` in C

Original definition is following

VALUE rb_class_real(VALUE klass)

func RbClassSubclasses

func RbClassSubclasses(klass VALUE) VALUE

RbClassSubclasses calls `rb_class_subclasses` in C

Original definition is following

VALUE rb_class_subclasses(VALUE klass)

func RbClassSuperclass

func RbClassSuperclass(klass VALUE) VALUE

RbClassSuperclass calls `rb_class_superclass` in C

Original definition is following

VALUE rb_class_superclass(VALUE klass)

func RbComplex

func RbComplex(real VALUE, imag VALUE) VALUE

RbComplex calls `rb_Complex` in C

Original definition is following

VALUE rb_Complex(VALUE real, VALUE imag)

func RbComplexAbs

func RbComplexAbs(z VALUE) VALUE

RbComplexAbs calls `rb_complex_abs` in C

Original definition is following

VALUE rb_complex_abs(VALUE z)

func RbComplexArg

func RbComplexArg(z VALUE) VALUE

RbComplexArg calls `rb_complex_arg` in C

Original definition is following

VALUE rb_complex_arg(VALUE z)

func RbComplexConjugate

func RbComplexConjugate(z VALUE) VALUE

RbComplexConjugate calls `rb_complex_conjugate` in C

Original definition is following

VALUE rb_complex_conjugate(VALUE z)

func RbComplexDiv

func RbComplexDiv(x VALUE, y VALUE) VALUE

RbComplexDiv calls `rb_complex_div` in C

Original definition is following

VALUE rb_complex_div(VALUE x, VALUE y)

func RbComplexImag

func RbComplexImag(z VALUE) VALUE

RbComplexImag calls `rb_complex_imag` in C

Original definition is following

VALUE rb_complex_imag(VALUE z)

func RbComplexMinus

func RbComplexMinus(x VALUE, y VALUE) VALUE

RbComplexMinus calls `rb_complex_minus` in C

Original definition is following

VALUE rb_complex_minus(VALUE x, VALUE y)

func RbComplexMul

func RbComplexMul(x VALUE, y VALUE) VALUE

RbComplexMul calls `rb_complex_mul` in C

Original definition is following

VALUE rb_complex_mul(VALUE x, VALUE y)

func RbComplexNew

func RbComplexNew(real VALUE, imag VALUE) VALUE

RbComplexNew calls `rb_complex_new` in C

Original definition is following

VALUE rb_complex_new(VALUE real, VALUE imag)

func RbComplexNewPolar

func RbComplexNewPolar(abs VALUE, arg VALUE) VALUE

RbComplexNewPolar calls `rb_complex_new_polar` in C

Original definition is following

VALUE rb_complex_new_polar(VALUE abs, VALUE arg)

func RbComplexPlus

func RbComplexPlus(x VALUE, y VALUE) VALUE

RbComplexPlus calls `rb_complex_plus` in C

Original definition is following

VALUE rb_complex_plus(VALUE x, VALUE y)

func RbComplexPow

func RbComplexPow(base VALUE, exp VALUE) VALUE

RbComplexPow calls `rb_complex_pow` in C

Original definition is following

VALUE rb_complex_pow(VALUE base, VALUE exp)

func RbComplexRaw

func RbComplexRaw(real VALUE, imag VALUE) VALUE

RbComplexRaw calls `rb_complex_raw` in C

Original definition is following

VALUE rb_complex_raw(VALUE real, VALUE imag)

func RbComplexReal

func RbComplexReal(z VALUE) VALUE

RbComplexReal calls `rb_complex_real` in C

Original definition is following

VALUE rb_complex_real(VALUE z)

func RbComplexUminus

func RbComplexUminus(z VALUE) VALUE

RbComplexUminus calls `rb_complex_uminus` in C

Original definition is following

VALUE rb_complex_uminus(VALUE z)

func RbConstGet

func RbConstGet(space VALUE, name ID) VALUE

RbConstGet calls `rb_const_get` in C

Original definition is following

VALUE rb_const_get(VALUE space, ID name)

func RbConstGetAt

func RbConstGetAt(space VALUE, name ID) VALUE

RbConstGetAt calls `rb_const_get_at` in C

Original definition is following

VALUE rb_const_get_at(VALUE space, ID name)

func RbConstGetFrom

func RbConstGetFrom(space VALUE, name ID) VALUE

RbConstGetFrom calls `rb_const_get_from` in C

Original definition is following

VALUE rb_const_get_from(VALUE space, ID name)

func RbConstList

func RbConstList(arg1 unsafe.Pointer) VALUE

RbConstList calls `rb_const_list` in C

Original definition is following

VALUE rb_const_list(void*)

func RbConstRemove

func RbConstRemove(space VALUE, name ID) VALUE

RbConstRemove calls `rb_const_remove` in C

Original definition is following

VALUE rb_const_remove(VALUE space, ID name)

func RbConvertType

func RbConvertType(val VALUE, t int, name string, mid string) VALUE

RbConvertType calls `rb_convert_type` in C

Original definition is following

VALUE rb_convert_type(VALUE val, int type, const char *name, const char *mid)

func RbCstr2Inum

func RbCstr2Inum(str string, base int) VALUE

RbCstr2Inum calls `rb_cstr2inum` in C

Original definition is following

VALUE rb_cstr2inum(const char *str, int base)

func RbCstrToInum

func RbCstrToInum(str string, base int, badcheck int) VALUE

RbCstrToInum calls `rb_cstr_to_inum` in C

Original definition is following

VALUE rb_cstr_to_inum(const char *str, int base, int badcheck)

func RbCurrentReceiver

func RbCurrentReceiver() VALUE

RbCurrentReceiver calls `rb_current_receiver` in C

Original definition is following

VALUE rb_current_receiver(void)

func RbCvGet

func RbCvGet(klass VALUE, name string) VALUE

RbCvGet calls `rb_cv_get` in C

Original definition is following

VALUE rb_cv_get(VALUE klass, const char *name)

func RbCvarDefined

func RbCvarDefined(klass VALUE, name ID) VALUE

RbCvarDefined calls `rb_cvar_defined` in C

Original definition is following

VALUE rb_cvar_defined(VALUE klass, ID name)

func RbCvarFind

func RbCvarFind(klass VALUE, name ID, front *VALUE) VALUE

RbCvarFind calls `rb_cvar_find` in C

Original definition is following

VALUE rb_cvar_find(VALUE klass, ID name, VALUE *front)

func RbCvarGet

func RbCvarGet(klass VALUE, name ID) VALUE

RbCvarGet calls `rb_cvar_get` in C

Original definition is following

VALUE rb_cvar_get(VALUE klass, ID name)

func RbDataObjectMake

func RbDataObjectMake(klass VALUE, mark_func unsafe.Pointer, free_func unsafe.Pointer, datap *unsafe.Pointer, size SizeT) VALUE

RbDataObjectMake calls `rb_data_object_make` in C

Original definition is following

rb_data_object_make(VALUE klass, RUBY_DATA_FUNC mark_func, RUBY_DATA_FUNC free_func, void **data/;"

func RbDataObjectWrap

func RbDataObjectWrap(klass VALUE, datap unsafe.Pointer, dmark unsafe.Pointer, dfree unsafe.Pointer) VALUE

RbDataObjectWrap calls `rb_data_object_wrap` in C

Original definition is following

VALUE rb_data_object_wrap(VALUE klass, void *datap, RUBY_DATA_FUNC dmark, RUBY_DATA_FUNC dfree)

func RbDataObjectZalloc

func RbDataObjectZalloc(klass VALUE, size SizeT, dmark unsafe.Pointer, dfree unsafe.Pointer) VALUE

RbDataObjectZalloc calls `rb_data_object_zalloc` in C

Original definition is following

VALUE rb_data_object_zalloc(VALUE klass, size_t size, RUBY_DATA_FUNC dmark, RUBY_DATA_FUNC dfree)

func RbDataTypedObjectMake

func RbDataTypedObjectMake(klass VALUE, t *RbDataTypeT, datap *unsafe.Pointer, size SizeT) VALUE

RbDataTypedObjectMake calls `rb_data_typed_object_make` in C

Original definition is following

rb_data_typed_object_make(VALUE klass, const rb_data_type_t *type, void **datap, size_t size)

func RbDataTypedObjectWrap

func RbDataTypedObjectWrap(klass VALUE, datap unsafe.Pointer, t *RbDataTypeT) VALUE

RbDataTypedObjectWrap calls `rb_data_typed_object_wrap` in C

Original definition is following

VALUE rb_data_typed_object_wrap(VALUE klass, void *datap, const rb_data_type_t *type)

func RbDataTypedObjectZalloc

func RbDataTypedObjectZalloc(klass VALUE, size SizeT, t *RbDataTypeT) VALUE

RbDataTypedObjectZalloc calls `rb_data_typed_object_zalloc` in C

Original definition is following

VALUE rb_data_typed_object_zalloc(VALUE klass, size_t size, const rb_data_type_t *type)

func RbDbl2Big

func RbDbl2Big(d Double) VALUE

RbDbl2Big calls `rb_dbl2big` in C

Original definition is following

VALUE rb_dbl2big(double d)

func RbDblCmp

func RbDblCmp(lhs Double, rhs Double) VALUE

RbDblCmp calls `rb_dbl_cmp` in C

Original definition is following

VALUE rb_dbl_cmp(double lhs, double rhs)

func RbDblComplexNew

func RbDblComplexNew(real Double, imag Double) VALUE

RbDblComplexNew calls `rb_dbl_complex_new` in C

Original definition is following

VALUE rb_dbl_complex_new(double real, double imag)

func RbDefineClass

func RbDefineClass(name string, super VALUE) VALUE

RbDefineClass calls `rb_define_class` in C

Original definition is following

VALUE rb_define_class(const char *name, VALUE super)

func RbDefineClassId

func RbDefineClassId(id ID, super VALUE) VALUE

RbDefineClassId calls `rb_define_class_id` in C

Original definition is following

VALUE rb_define_class_id(ID id, VALUE super)

func RbDefineClassIdUnder

func RbDefineClassIdUnder(outer VALUE, id ID, super VALUE) VALUE

RbDefineClassIdUnder calls `rb_define_class_id_under` in C

Original definition is following

VALUE rb_define_class_id_under(VALUE outer, ID id, VALUE super)

func RbDefineClassUnder

func RbDefineClassUnder(outer VALUE, name string, super VALUE) VALUE

RbDefineClassUnder calls `rb_define_class_under` in C

Original definition is following

VALUE rb_define_class_under(VALUE outer, const char *name, VALUE super)

func RbDefineFinalizer

func RbDefineFinalizer(obj VALUE, block VALUE) VALUE

RbDefineFinalizer calls `rb_define_finalizer` in C

Original definition is following

VALUE rb_define_finalizer(VALUE obj, VALUE block)

func RbDefineModule

func RbDefineModule(name string) VALUE

RbDefineModule calls `rb_define_module` in C

Original definition is following

VALUE rb_define_module(const char *name)

func RbDefineModuleId

func RbDefineModuleId(id ID) VALUE

RbDefineModuleId calls `rb_define_module_id` in C

Original definition is following

VALUE rb_define_module_id(ID id)

func RbDefineModuleIdUnder

func RbDefineModuleIdUnder(outer VALUE, id ID) VALUE

RbDefineModuleIdUnder calls `rb_define_module_id_under` in C

Original definition is following

VALUE rb_define_module_id_under(VALUE outer, ID id)

func RbDefineModuleUnder

func RbDefineModuleUnder(outer VALUE, name string) VALUE

RbDefineModuleUnder calls `rb_define_module_under` in C

Original definition is following

VALUE rb_define_module_under(VALUE outer, const char *name)

func RbDetachProcess

func RbDetachProcess(pid PidT) VALUE

RbDetachProcess calls `rb_detach_process` in C

Original definition is following

VALUE rb_detach_process(pid_t pid)

func RbDirGetwd

func RbDirGetwd() VALUE

RbDirGetwd calls `rb_dir_getwd` in C

Original definition is following

VALUE rb_dir_getwd(void)

func RbEach

func RbEach(obj VALUE) VALUE

RbEach calls `rb_each` in C

Original definition is following

VALUE rb_each(VALUE obj)

func RbEnsure

func RbEnsure(arg1 unsafe.Pointer, data1 VALUE, arg3 unsafe.Pointer, data2 VALUE) VALUE

RbEnsure calls `rb_ensure` in C

Original definition is following

VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2)

func RbEnumValuesPack

func RbEnumValuesPack(argc int, argv *VALUE) VALUE

RbEnumValuesPack calls `rb_enum_values_pack` in C

Original definition is following

VALUE rb_enum_values_pack(int argc, const VALUE *argv)

func RbEnumeratorize

func RbEnumeratorize(recv VALUE, meth VALUE, argc int, argv *VALUE) VALUE

RbEnumeratorize calls `rb_enumeratorize` in C

Original definition is following

VALUE rb_enumeratorize(VALUE recv, VALUE meth, int argc, const VALUE *argv)

func RbEnumeratorizeWithSize

func RbEnumeratorizeWithSize(recv VALUE, meth VALUE, argc int, argv *VALUE, fun *RbEnumeratorSizeFunc) VALUE

RbEnumeratorizeWithSize calls `rb_enumeratorize_with_size` in C

Original definition is following

VALUE rb_enumeratorize_with_size(VALUE recv, VALUE meth, int argc, const VALUE *argv, rb_enumerator_size_func *func)

func RbEnumeratorizeWithSizeKw

func RbEnumeratorizeWithSizeKw(recv VALUE, meth VALUE, argc int, argv *VALUE, fun *RbEnumeratorSizeFunc, kw_splat int) VALUE

RbEnumeratorizeWithSizeKw calls `rb_enumeratorize_with_size_kw` in C

Original definition is following

VALUE rb_enumeratorize_with_size_kw(VALUE recv, VALUE meth, int argc, const VALUE *argv, rb_enumerator_size_func *func, int kw_splat)

func RbEnvClear

func RbEnvClear() VALUE

RbEnvClear calls `rb_env_clear` in C

Original definition is following

VALUE rb_env_clear(void)

func RbEqual

func RbEqual(lhs VALUE, rhs VALUE) VALUE

RbEqual calls `rb_equal` in C

Original definition is following

VALUE rb_equal(VALUE lhs, VALUE rhs)

func RbErrinfo

func RbErrinfo() VALUE

RbErrinfo calls `rb_errinfo` in C

Original definition is following

VALUE rb_errinfo(void)

func RbEvalCmdKw

func RbEvalCmdKw(cmd VALUE, arg VALUE, kw_splat int) VALUE

RbEvalCmdKw calls `rb_eval_cmd_kw` in C

Original definition is following

VALUE rb_eval_cmd_kw(VALUE cmd, VALUE arg, int kw_splat)

func RbEvalString

func RbEvalString(str string) VALUE

RbEvalString calls `rb_eval_string` in C

Original definition is following

VALUE rb_eval_string(const char *str)

func RbEvalStringProtect

func RbEvalStringProtect(str string, state *int) VALUE

RbEvalStringProtect calls `rb_eval_string_protect` in C

Original definition is following

VALUE rb_eval_string_protect(const char *str, int *state)

func RbEvalStringWrap

func RbEvalStringWrap(str string, state *int) VALUE

RbEvalStringWrap calls `rb_eval_string_wrap` in C

Original definition is following

VALUE rb_eval_string_wrap(const char *str, int *state)

func RbExcNew

func RbExcNew(etype VALUE, ptr string, len Long) VALUE

RbExcNew calls `rb_exc_new` in C

Original definition is following

VALUE rb_exc_new(VALUE etype, const char *ptr, long len)

func RbExcNewCstr

func RbExcNewCstr(etype VALUE, str string) VALUE

RbExcNewCstr calls `rb_exc_new_cstr` in C

Original definition is following

VALUE rb_exc_new_cstr(VALUE etype, const char *str)

func RbExcNewStr

func RbExcNewStr(etype VALUE, str VALUE) VALUE

RbExcNewStr calls `rb_exc_new_str` in C

Original definition is following

VALUE rb_exc_new_str(VALUE etype, VALUE str)

func RbExecRecursive

func RbExecRecursive(arg1 unsafe.Pointer, g VALUE, h VALUE) VALUE

RbExecRecursive calls `rb_exec_recursive` in C

Original definition is following

VALUE rb_exec_recursive(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VALUE h)

func RbExecRecursiveOuter

func RbExecRecursiveOuter(arg1 unsafe.Pointer, g VALUE, h VALUE) VALUE

RbExecRecursiveOuter calls `rb_exec_recursive_outer` in C

Original definition is following

VALUE rb_exec_recursive_outer(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VALUE h)

func RbExecRecursivePaired

func RbExecRecursivePaired(arg1 unsafe.Pointer, g VALUE, p VALUE, h VALUE) VALUE

RbExecRecursivePaired calls `rb_exec_recursive_paired` in C

Original definition is following

VALUE rb_exec_recursive_paired(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VALUE p, VALUE h)

func RbExecRecursivePairedOuter

func RbExecRecursivePairedOuter(arg1 unsafe.Pointer, g VALUE, p VALUE, h VALUE) VALUE

RbExecRecursivePairedOuter calls `rb_exec_recursive_paired_outer` in C

Original definition is following

VALUE rb_exec_recursive_paired_outer(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VALUE p, VALUE h)

func RbExternalStrNew

func RbExternalStrNew(ptr string, len Long) VALUE

RbExternalStrNew calls `rb_external_str_new` in C

Original definition is following

VALUE rb_external_str_new(const char *ptr, long len)

func RbExternalStrNewCstr

func RbExternalStrNewCstr(ptr string) VALUE

RbExternalStrNewCstr calls `rb_external_str_new_cstr` in C

Original definition is following

VALUE rb_external_str_new_cstr(const char *ptr)

func RbExtractKeywords

func RbExtractKeywords(orighash *VALUE) VALUE

RbExtractKeywords calls `rb_extract_keywords` in C

Original definition is following

VALUE rb_extract_keywords(VALUE *orighash)

func RbFAbort

func RbFAbort(argc int, argv *VALUE) VALUE

RbFAbort calls `rb_f_abort` in C

Original definition is following

VALUE rb_f_abort(int argc, const VALUE *argv)

func RbFExec

func RbFExec(argc int, argv *VALUE) VALUE

RbFExec calls `rb_f_exec` in C

Original definition is following

VALUE rb_f_exec(int argc, const VALUE *argv)

func RbFExit

func RbFExit(argc int, argv *VALUE) VALUE

RbFExit calls `rb_f_exit` in C

Original definition is following

VALUE rb_f_exit(int argc, const VALUE *argv)

func RbFGlobalVariables

func RbFGlobalVariables() VALUE

RbFGlobalVariables calls `rb_f_global_variables` in C

Original definition is following

VALUE rb_f_global_variables(void)

func RbFKill

func RbFKill(argc int, argv *VALUE) VALUE

RbFKill calls `rb_f_kill` in C

Original definition is following

VALUE rb_f_kill(int argc, const VALUE *argv)

func RbFNotimplement

func RbFNotimplement(argc int, argv *VALUE, obj VALUE, marker VALUE) VALUE

RbFNotimplement calls `rb_f_notimplement` in C

Original definition is following

VALUE rb_f_notimplement(int argc, const VALUE *argv, VALUE obj, VALUE marker)

func RbFRequire

func RbFRequire(self VALUE, feature VALUE) VALUE

RbFRequire calls `rb_f_require` in C

Original definition is following

VALUE rb_f_require(VALUE self, VALUE feature)

func RbFSprintf

func RbFSprintf(argc int, argv *VALUE) VALUE

RbFSprintf calls `rb_f_sprintf` in C

Original definition is following

VALUE rb_f_sprintf(int argc, const VALUE *argv)

func RbFTraceVar

func RbFTraceVar(argc int, argv *VALUE) VALUE

RbFTraceVar calls `rb_f_trace_var` in C

Original definition is following

VALUE rb_f_trace_var(int argc, const VALUE *argv)

func RbFUntraceVar

func RbFUntraceVar(argc int, argv *VALUE) VALUE

RbFUntraceVar calls `rb_f_untrace_var` in C

Original definition is following

VALUE rb_f_untrace_var(int argc, const VALUE *argv)

func RbFiberAliveP

func RbFiberAliveP(fiber VALUE) VALUE

RbFiberAliveP calls `rb_fiber_alive_p` in C

Original definition is following

VALUE rb_fiber_alive_p(VALUE fiber)

func RbFiberCurrent

func RbFiberCurrent() VALUE

RbFiberCurrent calls `rb_fiber_current` in C

Original definition is following

VALUE rb_fiber_current(void)

func RbFiberNew

func RbFiberNew(fun RbBlockCallFuncT, callback_obj VALUE) VALUE

RbFiberNew calls `rb_fiber_new` in C

Original definition is following

VALUE rb_fiber_new(rb_block_call_func_t func, VALUE callback_obj)

func RbFiberNewStorage

func RbFiberNewStorage(fun RbBlockCallFuncT, callback_obj VALUE, storage VALUE) VALUE

RbFiberNewStorage calls `rb_fiber_new_storage` in C

Original definition is following

VALUE rb_fiber_new_storage(rb_block_call_func_t func, VALUE callback_obj, VALUE storage)

func RbFiberRaise

func RbFiberRaise(fiber VALUE, argc int, argv *VALUE) VALUE

RbFiberRaise calls `rb_fiber_raise` in C

Original definition is following

VALUE rb_fiber_raise(VALUE fiber, int argc, const VALUE *argv)

func RbFiberResume

func RbFiberResume(fiber VALUE, argc int, argv *VALUE) VALUE

RbFiberResume calls `rb_fiber_resume` in C

Original definition is following

VALUE rb_fiber_resume(VALUE fiber, int argc, const VALUE *argv)

func RbFiberResumeKw

func RbFiberResumeKw(fiber VALUE, argc int, argv *VALUE, kw_splat int) VALUE

RbFiberResumeKw calls `rb_fiber_resume_kw` in C

Original definition is following

VALUE rb_fiber_resume_kw(VALUE fiber, int argc, const VALUE *argv, int kw_splat)

func RbFiberTransfer

func RbFiberTransfer(fiber VALUE, argc int, argv *VALUE) VALUE

RbFiberTransfer calls `rb_fiber_transfer` in C

Original definition is following

VALUE rb_fiber_transfer(VALUE fiber, int argc, const VALUE *argv)

func RbFiberTransferKw

func RbFiberTransferKw(fiber VALUE, argc int, argv *VALUE, kw_splat int) VALUE

RbFiberTransferKw calls `rb_fiber_transfer_kw` in C

Original definition is following

VALUE rb_fiber_transfer_kw(VALUE fiber, int argc, const VALUE *argv, int kw_splat)

func RbFiberYield

func RbFiberYield(argc int, argv *VALUE) VALUE

RbFiberYield calls `rb_fiber_yield` in C

Original definition is following

VALUE rb_fiber_yield(int argc, const VALUE *argv)

func RbFiberYieldKw

func RbFiberYieldKw(argc int, argv *VALUE, kw_splat int) VALUE

RbFiberYieldKw calls `rb_fiber_yield_kw` in C

Original definition is following

VALUE rb_fiber_yield_kw(int argc, const VALUE *argv, int kw_splat)

func RbFileAbsolutePath

func RbFileAbsolutePath(fname VALUE, dname VALUE) VALUE

RbFileAbsolutePath calls `rb_file_absolute_path` in C

Original definition is following

VALUE rb_file_absolute_path(VALUE fname, VALUE dname)

func RbFileDirectoryP

func RbFileDirectoryP(arg VALUE, path VALUE) VALUE

RbFileDirectoryP calls `rb_file_directory_p` in C

Original definition is following

VALUE rb_file_directory_p(VALUE _, VALUE path)

func RbFileDirname

func RbFileDirname(fname VALUE) VALUE

RbFileDirname calls `rb_file_dirname` in C

Original definition is following

VALUE rb_file_dirname(VALUE fname)

func RbFileExpandPath

func RbFileExpandPath(fname VALUE, dname VALUE) VALUE

RbFileExpandPath calls `rb_file_expand_path` in C

Original definition is following

VALUE rb_file_expand_path(VALUE fname, VALUE dname)

func RbFileOpen

func RbFileOpen(fname string, fmode string) VALUE

RbFileOpen calls `rb_file_open` in C

Original definition is following

VALUE rb_file_open(const char *fname, const char *fmode)

func RbFileOpenStr

func RbFileOpenStr(fname VALUE, fmode string) VALUE

RbFileOpenStr calls `rb_file_open_str` in C

Original definition is following

VALUE rb_file_open_str(VALUE fname, const char *fmode)

func RbFileSAbsolutePath

func RbFileSAbsolutePath(argc int, argv *VALUE) VALUE

RbFileSAbsolutePath calls `rb_file_s_absolute_path` in C

Original definition is following

VALUE rb_file_s_absolute_path(int argc, const VALUE *argv)

func RbFileSExpandPath

func RbFileSExpandPath(argc int, argv *VALUE) VALUE

RbFileSExpandPath calls `rb_file_s_expand_path` in C

Original definition is following

VALUE rb_file_s_expand_path(int argc, const VALUE *argv)

func RbFilesystemStrNew

func RbFilesystemStrNew(ptr string, len Long) VALUE

RbFilesystemStrNew calls `rb_filesystem_str_new` in C

Original definition is following

VALUE rb_filesystem_str_new(const char *ptr, long len)

func RbFilesystemStrNewCstr

func RbFilesystemStrNewCstr(ptr string) VALUE

RbFilesystemStrNewCstr calls `rb_filesystem_str_new_cstr` in C

Original definition is following

VALUE rb_filesystem_str_new_cstr(const char *ptr)

func RbFindFile

func RbFindFile(path VALUE) VALUE

RbFindFile calls `rb_find_file` in C

Original definition is following

VALUE rb_find_file(VALUE path)

func RbFix2Str

func RbFix2Str(val VALUE, base int) VALUE

RbFix2Str calls `rb_fix2str` in C

Original definition is following

VALUE rb_fix2str(VALUE val, int base)

func RbFloat

func RbFloat(val VALUE) VALUE

RbFloat calls `rb_Float` in C

Original definition is following

VALUE rb_Float(VALUE val)

func RbFloatNew

func RbFloatNew(d Double) VALUE

RbFloatNew calls `rb_float_new` in C

Original definition is following

VALUE rb_float_new(double d)

func RbFloatNewInHeap

func RbFloatNewInHeap(d Double) VALUE

RbFloatNewInHeap calls `rb_float_new_in_heap` in C

Original definition is following

VALUE rb_float_new_in_heap(double d)

func RbFltRationalize

func RbFltRationalize(flt VALUE) VALUE

RbFltRationalize calls `rb_flt_rationalize` in C

Original definition is following

VALUE rb_flt_rationalize(VALUE flt)

func RbFltRationalizeWithPrec

func RbFltRationalizeWithPrec(flt VALUE, prec VALUE) VALUE

RbFltRationalizeWithPrec calls `rb_flt_rationalize_with_prec` in C

Original definition is following

VALUE rb_flt_rationalize_with_prec(VALUE flt, VALUE prec)

func RbFuncall2

func RbFuncall2(recv VALUE, mid ID, argc int, argv []VALUE) VALUE

RbFuncall2 is alias to RbFuncallv

func RbFuncall3

func RbFuncall3(recv VALUE, mid ID, argc int, argv []VALUE) VALUE

RbFuncall3 is alias to RbFuncallvPublic

func RbFuncallPassingBlock

func RbFuncallPassingBlock(recv VALUE, mid ID, argc int, argv *VALUE) VALUE

RbFuncallPassingBlock calls `rb_funcall_passing_block` in C

Original definition is following

VALUE rb_funcall_passing_block(VALUE recv, ID mid, int argc, const VALUE *argv)

func RbFuncallPassingBlockKw

func RbFuncallPassingBlockKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE

RbFuncallPassingBlockKw calls `rb_funcall_passing_block_kw` in C

Original definition is following

VALUE rb_funcall_passing_block_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int kw_splat)

func RbFuncallWithBlock

func RbFuncallWithBlock(recv VALUE, mid ID, argc int, argv *VALUE, procval VALUE) VALUE

RbFuncallWithBlock calls `rb_funcall_with_block` in C

Original definition is following

VALUE rb_funcall_with_block(VALUE recv, ID mid, int argc, const VALUE *argv, VALUE procval)

func RbFuncallWithBlockKw

func RbFuncallWithBlockKw(recv VALUE, mid ID, argc int, argv *VALUE, procval VALUE, kw_splat int) VALUE

RbFuncallWithBlockKw calls `rb_funcall_with_block_kw` in C

Original definition is following

VALUE rb_funcall_with_block_kw(VALUE recv, ID mid, int argc, const VALUE *argv, VALUE procval, int kw_splat)

func RbFuncallv

func RbFuncallv(recv VALUE, mid ID, argc int, argv []VALUE) VALUE

RbFuncallv calls `rb_funcallv` in C

Original definition is following

VALUE rb_funcallv(VALUE recv, ID mid, int argc, const VALUE *argv)

func RbFuncallvKw

func RbFuncallvKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE

RbFuncallvKw calls `rb_funcallv_kw` in C

Original definition is following

VALUE rb_funcallv_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int kw_splat)

func RbFuncallvPublic

func RbFuncallvPublic(recv VALUE, mid ID, argc int, argv []VALUE) VALUE

RbFuncallvPublic calls `rb_funcallv_public` in C

Original definition is following

VALUE rb_funcallv_public(VALUE recv, ID mid, int argc, const VALUE *argv)

func RbFuncallvPublicKw

func RbFuncallvPublicKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE

RbFuncallvPublicKw calls `rb_funcallv_public_kw` in C

Original definition is following

VALUE rb_funcallv_public_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int kw_splat)

func RbGcDisable

func RbGcDisable() VALUE

RbGcDisable calls `rb_gc_disable` in C

Original definition is following

VALUE rb_gc_disable(void)

func RbGcEnable

func RbGcEnable() VALUE

RbGcEnable calls `rb_gc_enable` in C

Original definition is following

VALUE rb_gc_enable(void)

func RbGcLatestGcInfo

func RbGcLatestGcInfo(key_or_buf VALUE) VALUE

RbGcLatestGcInfo calls `rb_gc_latest_gc_info` in C

Original definition is following

VALUE rb_gc_latest_gc_info(VALUE key_or_buf)

func RbGcLocation

func RbGcLocation(obj VALUE) VALUE

RbGcLocation calls `rb_gc_location` in C

Original definition is following

VALUE rb_gc_location(VALUE obj)

func RbGcStart

func RbGcStart() VALUE

RbGcStart calls `rb_gc_start` in C

Original definition is following

VALUE rb_gc_start(void)

func RbGetArgv

func RbGetArgv() VALUE

RbGetArgv calls `rb_get_argv` in C

Original definition is following

VALUE rb_get_argv(void)

func RbGetPath

func RbGetPath(obj VALUE) VALUE

RbGetPath calls `rb_get_path` in C

Original definition is following

VALUE rb_get_path(VALUE obj)

func RbGetPathNoChecksafe

func RbGetPathNoChecksafe(arg1 VALUE) VALUE

RbGetPathNoChecksafe calls `rb_get_path_no_checksafe` in C

Original definition is following

VALUE rb_get_path_no_checksafe(VALUE)

func RbGetValuesAt

func RbGetValuesAt(obj VALUE, olen Long, argc int, argv *VALUE, arg5 unsafe.Pointer) VALUE

RbGetValuesAt calls `rb_get_values_at` in C

Original definition is following

VALUE rb_get_values_at(VALUE obj, long olen, int argc, const VALUE *argv, VALUE (*func)(VALUE obj, long oidx))

func RbGets

func RbGets() VALUE

RbGets calls `rb_gets` in C

Original definition is following

VALUE rb_gets(void)

func RbGvGet

func RbGvGet(name string) VALUE

RbGvGet calls `rb_gv_get` in C

Original definition is following

VALUE rb_gv_get(const char *name)

func RbGvSet

func RbGvSet(name string, val VALUE) VALUE

RbGvSet calls `rb_gv_set` in C

Original definition is following

VALUE rb_gv_set(const char *name, VALUE val)

func RbHash

func RbHash(obj VALUE) VALUE

RbHash calls `rb_hash` in C

Original definition is following

VALUE rb_hash(VALUE obj)

func RbHashAref

func RbHashAref(hash VALUE, key VALUE) VALUE

RbHashAref calls `rb_hash_aref` in C

Original definition is following

VALUE rb_hash_aref(VALUE hash, VALUE key)

func RbHashAset

func RbHashAset(hash VALUE, key VALUE, val VALUE) VALUE

RbHashAset calls `rb_hash_aset` in C

Original definition is following

VALUE rb_hash_aset(VALUE hash, VALUE key, VALUE val)

func RbHashClear

func RbHashClear(hash VALUE) VALUE

RbHashClear calls `rb_hash_clear` in C

Original definition is following

VALUE rb_hash_clear(VALUE hash)

func RbHashDelete

func RbHashDelete(hash VALUE, key VALUE) VALUE

RbHashDelete calls `rb_hash_delete` in C

Original definition is following

VALUE rb_hash_delete(VALUE hash, VALUE key)

func RbHashDeleteIf

func RbHashDeleteIf(hash VALUE) VALUE

RbHashDeleteIf calls `rb_hash_delete_if` in C

Original definition is following

VALUE rb_hash_delete_if(VALUE hash)

func RbHashDup

func RbHashDup(hash VALUE) VALUE

RbHashDup calls `rb_hash_dup` in C

Original definition is following

VALUE rb_hash_dup(VALUE hash)

func RbHashFetch

func RbHashFetch(hash VALUE, key VALUE) VALUE

RbHashFetch calls `rb_hash_fetch` in C

Original definition is following

VALUE rb_hash_fetch(VALUE hash, VALUE key)

func RbHashFreeze

func RbHashFreeze(obj VALUE) VALUE

RbHashFreeze calls `rb_hash_freeze` in C

Original definition is following

VALUE rb_hash_freeze(VALUE obj)

func RbHashLookup

func RbHashLookup(hash VALUE, key VALUE) VALUE

RbHashLookup calls `rb_hash_lookup` in C

Original definition is following

VALUE rb_hash_lookup(VALUE hash, VALUE key)

func RbHashLookup2

func RbHashLookup2(hash VALUE, key VALUE, def VALUE) VALUE

RbHashLookup2 calls `rb_hash_lookup2` in C

Original definition is following

VALUE rb_hash_lookup2(VALUE hash, VALUE key, VALUE def)

func RbHashNew

func RbHashNew() VALUE

RbHashNew calls `rb_hash_new` in C

Original definition is following

VALUE rb_hash_new(void)

func RbHashNewCapa

func RbHashNewCapa(capa Long) VALUE

RbHashNewCapa calls `rb_hash_new_capa` in C

Original definition is following

VALUE rb_hash_new_capa(long capa)

func RbHashSetIfnone

func RbHashSetIfnone(hash VALUE, ifnone VALUE) VALUE

RbHashSetIfnone calls `rb_hash_set_ifnone` in C

Original definition is following

VALUE rb_hash_set_ifnone(VALUE hash, VALUE ifnone)

func RbHashSize

func RbHashSize(hash VALUE) VALUE

RbHashSize calls `rb_hash_size` in C

Original definition is following

VALUE rb_hash_size(VALUE hash)

func RbHashUpdateBy

func RbHashUpdateBy(hash1 VALUE, hash2 VALUE, fun *RbHashUpdateFunc) VALUE

RbHashUpdateBy calls `rb_hash_update_by` in C

Original definition is following

VALUE rb_hash_update_by(VALUE hash1, VALUE hash2, rb_hash_update_func *func)

func RbId2Str

func RbId2Str(id ID) VALUE

RbId2Str calls `rb_id2str` in C

Original definition is following

VALUE rb_id2str(ID id)

func RbId2Sym

func RbId2Sym(id ID) VALUE

RbId2Sym calls `rb_id2sym` in C

Original definition is following

VALUE rb_id2sym(ID id)

func RbInspect

func RbInspect(obj VALUE) VALUE

RbInspect calls `rb_inspect` in C

Original definition is following

VALUE rb_inspect(VALUE obj)

func RbInt2Big

func RbInt2Big(i IntptrT) VALUE

RbInt2Big calls `rb_int2big` in C

Original definition is following

VALUE rb_int2big(intptr_t i)

func RbInt2Inum

func RbInt2Inum(i IntptrT) VALUE

RbInt2Inum calls `rb_int2inum` in C

Original definition is following

VALUE rb_int2inum(intptr_t i)

func RbInt2NumInline

func RbInt2NumInline(v int) VALUE

RbInt2NumInline calls `rb_int2num_inline` in C

Original definition is following

rb_int2num_inline(int v)

func RbIntPositivePow

func RbIntPositivePow(x Long, y uint) VALUE

RbIntPositivePow calls `rb_int_positive_pow` in C

Original definition is following

extern VALUE rb_int_positive_pow(long x, unsigned long y)

func RbInteger

func RbInteger(val VALUE) VALUE

RbInteger calls `rb_Integer` in C

Original definition is following

VALUE rb_Integer(VALUE val)

func RbIntegerUnpack

func RbIntegerUnpack(words unsafe.Pointer, numwords SizeT, wordsize SizeT, nails SizeT, flags int) VALUE

RbIntegerUnpack calls `rb_integer_unpack` in C

Original definition is following

VALUE rb_integer_unpack(const void *words, size_t numwords, size_t wordsize, size_t nails, int flags)

func RbInternedStr

func RbInternedStr(ptr string, len Long) VALUE

RbInternedStr calls `rb_interned_str` in C

Original definition is following

VALUE rb_interned_str(const char *ptr, long len)

func RbInternedStrCstr

func RbInternedStrCstr(ptr string) VALUE

RbInternedStrCstr calls `rb_interned_str_cstr` in C

Original definition is following

VALUE rb_interned_str_cstr(const char *ptr)

func RbIoAddstr

func RbIoAddstr(io VALUE, str VALUE) VALUE

RbIoAddstr calls `rb_io_addstr` in C

Original definition is following

VALUE rb_io_addstr(VALUE io, VALUE str)

func RbIoAscii8BitBinmode

func RbIoAscii8BitBinmode(io VALUE) VALUE

RbIoAscii8BitBinmode calls `rb_io_ascii8bit_binmode` in C

Original definition is following

VALUE rb_io_ascii8bit_binmode(VALUE io)

func RbIoBinmode

func RbIoBinmode(io VALUE) VALUE

RbIoBinmode calls `rb_io_binmode` in C

Original definition is following

VALUE rb_io_binmode(VALUE io)

func RbIoClose

func RbIoClose(io VALUE) VALUE

RbIoClose calls `rb_io_close` in C

Original definition is following

VALUE rb_io_close(VALUE io)

func RbIoEof

func RbIoEof(io VALUE) VALUE

RbIoEof calls `rb_io_eof` in C

Original definition is following

VALUE rb_io_eof(VALUE io)

func RbIoFdopen

func RbIoFdopen(fd int, flags int, path string) VALUE

RbIoFdopen calls `rb_io_fdopen` in C

Original definition is following

VALUE rb_io_fdopen(int fd, int flags, const char *path)

func RbIoFlush

func RbIoFlush(io VALUE) VALUE

RbIoFlush calls `rb_io_flush` in C

Original definition is following

VALUE rb_io_flush(VALUE io)

func RbIoGetbyte

func RbIoGetbyte(io VALUE) VALUE

RbIoGetbyte calls `rb_io_getbyte` in C

Original definition is following

VALUE rb_io_getbyte(VALUE io)

func RbIoGets

func RbIoGets(io VALUE) VALUE

RbIoGets calls `rb_io_gets` in C

Original definition is following

VALUE rb_io_gets(VALUE io)

func RbIoPrint

func RbIoPrint(argc int, argv *VALUE, io VALUE) VALUE

RbIoPrint calls `rb_io_print` in C

Original definition is following

VALUE rb_io_print(int argc, const VALUE *argv, VALUE io)

func RbIoPrintf

func RbIoPrintf(argc int, argv *VALUE, io VALUE) VALUE

RbIoPrintf calls `rb_io_printf` in C

Original definition is following

VALUE rb_io_printf(int argc, const VALUE *argv, VALUE io)

func RbIoPuts

func RbIoPuts(argc int, argv *VALUE, io VALUE) VALUE

RbIoPuts calls `rb_io_puts` in C

Original definition is following

VALUE rb_io_puts(int argc, const VALUE *argv, VALUE io)

func RbIoUngetbyte

func RbIoUngetbyte(io VALUE, b VALUE) VALUE

RbIoUngetbyte calls `rb_io_ungetbyte` in C

Original definition is following

VALUE rb_io_ungetbyte(VALUE io, VALUE b)

func RbIoUngetc

func RbIoUngetc(io VALUE, c VALUE) VALUE

RbIoUngetc calls `rb_io_ungetc` in C

Original definition is following

VALUE rb_io_ungetc(VALUE io, VALUE c)

func RbIoWrite

func RbIoWrite(io VALUE, str VALUE) VALUE

RbIoWrite calls `rb_io_write` in C

Original definition is following

VALUE rb_io_write(VALUE io, VALUE str)

func RbIvGet

func RbIvGet(obj VALUE, name string) VALUE

RbIvGet calls `rb_iv_get` in C

Original definition is following

VALUE rb_iv_get(VALUE obj, const char *name)

func RbIvSet

func RbIvSet(obj VALUE, name string, val VALUE) VALUE

RbIvSet calls `rb_iv_set` in C

Original definition is following

VALUE rb_iv_set(VALUE obj, const char *name, VALUE val)

func RbIvarDefined

func RbIvarDefined(obj VALUE, name ID) VALUE

RbIvarDefined calls `rb_ivar_defined` in C

Original definition is following

VALUE rb_ivar_defined(VALUE obj, ID name)

func RbIvarGet

func RbIvarGet(obj VALUE, name ID) VALUE

RbIvarGet calls `rb_ivar_get` in C

Original definition is following

VALUE rb_ivar_get(VALUE obj, ID name)

func RbIvarSet

func RbIvarSet(obj VALUE, name ID, val VALUE) VALUE

RbIvarSet calls `rb_ivar_set` in C

Original definition is following

VALUE rb_ivar_set(VALUE obj, ID name, VALUE val)

func RbLastStatusGet

func RbLastStatusGet() VALUE

RbLastStatusGet calls `rb_last_status_get` in C

Original definition is following

VALUE rb_last_status_get(void)

func RbLastlineGet

func RbLastlineGet() VALUE

RbLastlineGet calls `rb_lastline_get` in C

Original definition is following

VALUE rb_lastline_get(void)

func RbLl2Inum

func RbLl2Inum(num Longlong) VALUE

RbLl2Inum calls `rb_ll2inum` in C

Original definition is following

VALUE rb_ll2inum(

func RbLl2NumInline

func RbLl2NumInline(n Longlong) VALUE

RbLl2NumInline calls `rb_ll2num_inline` in C

Original definition is following

rb_ll2num_inline(

func RbLocaleStrNew

func RbLocaleStrNew(ptr string, len Long) VALUE

RbLocaleStrNew calls `rb_locale_str_new` in C

Original definition is following

VALUE rb_locale_str_new(const char *ptr, long len)

func RbLocaleStrNewCstr

func RbLocaleStrNewCstr(ptr string) VALUE

RbLocaleStrNewCstr calls `rb_locale_str_new_cstr` in C

Original definition is following

VALUE rb_locale_str_new_cstr(const char *ptr)

func RbLong2NumInline

func RbLong2NumInline(v Long) VALUE

RbLong2NumInline calls `rb_long2num_inline` in C

Original definition is following

rb_long2num_inline(long v)

func RbMakeBacktrace

func RbMakeBacktrace() VALUE

RbMakeBacktrace calls `rb_make_backtrace` in C

Original definition is following

VALUE rb_make_backtrace(void)

func RbMakeException

func RbMakeException(argc int, argv *VALUE) VALUE

RbMakeException calls `rb_make_exception` in C

Original definition is following

VALUE rb_make_exception(int argc, const VALUE *argv)

func RbMarshalDump

func RbMarshalDump(obj VALUE, port VALUE) VALUE

RbMarshalDump calls `rb_marshal_dump` in C

Original definition is following

VALUE rb_marshal_dump(VALUE obj, VALUE port)

func RbMarshalLoad

func RbMarshalLoad(port VALUE) VALUE

RbMarshalLoad calls `rb_marshal_load` in C

Original definition is following

VALUE rb_marshal_load(VALUE port)

func RbMemoryId

func RbMemoryId(obj VALUE) VALUE

RbMemoryId calls `rb_memory_id` in C

Original definition is following

VALUE rb_memory_id(VALUE obj)

func RbMethodCall

func RbMethodCall(argc int, argv *VALUE, recv VALUE) VALUE

RbMethodCall calls `rb_method_call` in C

Original definition is following

VALUE rb_method_call(int argc, const VALUE *argv, VALUE recv)

func RbMethodCallKw

func RbMethodCallKw(argc int, argv *VALUE, recv VALUE, kw_splat int) VALUE

RbMethodCallKw calls `rb_method_call_kw` in C

Original definition is following

VALUE rb_method_call_kw(int argc, const VALUE *argv, VALUE recv, int kw_splat)

func RbMethodCallWithBlock

func RbMethodCallWithBlock(argc int, argv *VALUE, recv VALUE, proc VALUE) VALUE

RbMethodCallWithBlock calls `rb_method_call_with_block` in C

Original definition is following

VALUE rb_method_call_with_block(int argc, const VALUE *argv, VALUE recv, VALUE proc)

func RbMethodCallWithBlockKw

func RbMethodCallWithBlockKw(argc int, argv *VALUE, recv VALUE, proc VALUE, kw_splat int) VALUE

RbMethodCallWithBlockKw calls `rb_method_call_with_block_kw` in C

Original definition is following

VALUE rb_method_call_with_block_kw(int argc, const VALUE *argv, VALUE recv, VALUE proc, int kw_splat)

func RbModAncestors

func RbModAncestors(mod VALUE) VALUE

RbModAncestors calls `rb_mod_ancestors` in C

Original definition is following

VALUE rb_mod_ancestors(VALUE mod)

func RbModClassVariables

func RbModClassVariables(argc int, argv *VALUE, recv VALUE) VALUE

RbModClassVariables calls `rb_mod_class_variables` in C

Original definition is following

VALUE rb_mod_class_variables(int argc, const VALUE *argv, VALUE recv)

func RbModConstants

func RbModConstants(argc int, argv *VALUE, recv VALUE) VALUE

RbModConstants calls `rb_mod_constants` in C

Original definition is following

VALUE rb_mod_constants(int argc, const VALUE *argv, VALUE recv)

func RbModIncludeP

func RbModIncludeP(child VALUE, parent VALUE) VALUE

RbModIncludeP calls `rb_mod_include_p` in C

Original definition is following

VALUE rb_mod_include_p(VALUE child, VALUE parent)

func RbModIncludedModules

func RbModIncludedModules(mod VALUE) VALUE

RbModIncludedModules calls `rb_mod_included_modules` in C

Original definition is following

VALUE rb_mod_included_modules(VALUE mod)

func RbModInitCopy

func RbModInitCopy(clone VALUE, orig VALUE) VALUE

RbModInitCopy calls `rb_mod_init_copy` in C

Original definition is following

VALUE rb_mod_init_copy(VALUE clone, VALUE orig)

func RbModModuleEval

func RbModModuleEval(argc int, argv *VALUE, mod VALUE) VALUE

RbModModuleEval calls `rb_mod_module_eval` in C

Original definition is following

VALUE rb_mod_module_eval(int argc, const VALUE *argv, VALUE mod)

func RbModModuleExec

func RbModModuleExec(argc int, argv *VALUE, mod VALUE) VALUE

RbModModuleExec calls `rb_mod_module_exec` in C

Original definition is following

VALUE rb_mod_module_exec(int argc, const VALUE *argv, VALUE mod)

func RbModName

func RbModName(mod VALUE) VALUE

RbModName calls `rb_mod_name` in C

Original definition is following

VALUE rb_mod_name(VALUE mod)

func RbModRemoveConst

func RbModRemoveConst(space VALUE, name VALUE) VALUE

RbModRemoveConst calls `rb_mod_remove_const` in C

Original definition is following

VALUE rb_mod_remove_const(VALUE space, VALUE name)

func RbModRemoveCvar

func RbModRemoveCvar(mod VALUE, name VALUE) VALUE

RbModRemoveCvar calls `rb_mod_remove_cvar` in C

Original definition is following

VALUE rb_mod_remove_cvar(VALUE mod, VALUE name)

func RbModuleNew

func RbModuleNew() VALUE

RbModuleNew calls `rb_module_new` in C

Original definition is following

VALUE rb_module_new(void)

func RbMutexLock

func RbMutexLock(mutex VALUE) VALUE

RbMutexLock calls `rb_mutex_lock` in C

Original definition is following

VALUE rb_mutex_lock(VALUE mutex)

func RbMutexLockedP

func RbMutexLockedP(mutex VALUE) VALUE

RbMutexLockedP calls `rb_mutex_locked_p` in C

Original definition is following

VALUE rb_mutex_locked_p(VALUE mutex)

func RbMutexNew

func RbMutexNew() VALUE

RbMutexNew calls `rb_mutex_new` in C

Original definition is following

VALUE rb_mutex_new(void)

func RbMutexSleep

func RbMutexSleep(self VALUE, timeout VALUE) VALUE

RbMutexSleep calls `rb_mutex_sleep` in C

Original definition is following

VALUE rb_mutex_sleep(VALUE self, VALUE timeout)

func RbMutexSynchronize

func RbMutexSynchronize(mutex VALUE, arg2 unsafe.Pointer, arg VALUE) VALUE

RbMutexSynchronize calls `rb_mutex_synchronize` in C

Original definition is following

VALUE rb_mutex_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg)

func RbMutexTrylock

func RbMutexTrylock(mutex VALUE) VALUE

RbMutexTrylock calls `rb_mutex_trylock` in C

Original definition is following

VALUE rb_mutex_trylock(VALUE mutex)

func RbMutexUnlock

func RbMutexUnlock(mutex VALUE) VALUE

RbMutexUnlock calls `rb_mutex_unlock` in C

Original definition is following

VALUE rb_mutex_unlock(VALUE mutex)

func RbNewobj

func RbNewobj() VALUE

RbNewobj calls `rb_newobj` in C

Original definition is following

VALUE rb_newobj(void)

func RbNewobjOf

func RbNewobjOf(klass VALUE, flags VALUE) VALUE

RbNewobjOf calls `rb_newobj_of` in C

Original definition is following

VALUE rb_newobj_of(VALUE klass, VALUE flags)

func RbNum2Fix

func RbNum2Fix(val VALUE) VALUE

RbNum2Fix calls `rb_num2fix` in C

Original definition is following

VALUE rb_num2fix(VALUE val)

func RbNumCoerceBin

func RbNumCoerceBin(lhs VALUE, rhs VALUE, op ID) VALUE

RbNumCoerceBin calls `rb_num_coerce_bin` in C

Original definition is following

VALUE rb_num_coerce_bin(VALUE lhs, VALUE rhs, ID op)

func RbNumCoerceBit

func RbNumCoerceBit(lhs VALUE, rhs VALUE, op ID) VALUE

RbNumCoerceBit calls `rb_num_coerce_bit` in C

Original definition is following

VALUE rb_num_coerce_bit(VALUE lhs, VALUE rhs, ID op)

func RbNumCoerceCmp

func RbNumCoerceCmp(lhs VALUE, rhs VALUE, op ID) VALUE

RbNumCoerceCmp calls `rb_num_coerce_cmp` in C

Original definition is following

VALUE rb_num_coerce_cmp(VALUE lhs, VALUE rhs, ID op)

func RbNumCoerceRelop

func RbNumCoerceRelop(lhs VALUE, rhs VALUE, op ID) VALUE

RbNumCoerceRelop calls `rb_num_coerce_relop` in C

Original definition is following

VALUE rb_num_coerce_relop(VALUE lhs, VALUE rhs, ID op)

func RbObjAlloc

func RbObjAlloc(klass VALUE) VALUE

RbObjAlloc calls `rb_obj_alloc` in C

Original definition is following

VALUE rb_obj_alloc(VALUE klass)

func RbObjAsString

func RbObjAsString(obj VALUE) VALUE

RbObjAsString calls `rb_obj_as_string` in C

Original definition is following

VALUE rb_obj_as_string(VALUE obj)

func RbObjClass

func RbObjClass(obj VALUE) VALUE

RbObjClass calls `rb_obj_class` in C

Original definition is following

VALUE rb_obj_class(VALUE obj)

func RbObjClone

func RbObjClone(obj VALUE) VALUE

RbObjClone calls `rb_obj_clone` in C

Original definition is following

VALUE rb_obj_clone(VALUE obj)

func RbObjDup

func RbObjDup(obj VALUE) VALUE

RbObjDup calls `rb_obj_dup` in C

Original definition is following

VALUE rb_obj_dup(VALUE obj)

func RbObjFreeze

func RbObjFreeze(obj VALUE) VALUE

RbObjFreeze calls `rb_obj_freeze` in C

Original definition is following

VALUE rb_obj_freeze(VALUE obj)

func RbObjFrozenP

func RbObjFrozenP(obj VALUE) VALUE

RbObjFrozenP calls `rb_obj_frozen_p` in C

Original definition is following

VALUE rb_obj_frozen_p(VALUE obj)

func RbObjHide

func RbObjHide(obj VALUE) VALUE

RbObjHide calls `rb_obj_hide` in C

Original definition is following

VALUE rb_obj_hide(VALUE obj)

func RbObjId

func RbObjId(obj VALUE) VALUE

RbObjId calls `rb_obj_id` in C

Original definition is following

VALUE rb_obj_id(VALUE obj)

func RbObjInitCopy

func RbObjInitCopy(src VALUE, dst VALUE) VALUE

RbObjInitCopy calls `rb_obj_init_copy` in C

Original definition is following

VALUE rb_obj_init_copy(VALUE src, VALUE dst)

func RbObjInstanceEval

func RbObjInstanceEval(argc int, argv *VALUE, recv VALUE) VALUE

RbObjInstanceEval calls `rb_obj_instance_eval` in C

Original definition is following

VALUE rb_obj_instance_eval(int argc, const VALUE *argv, VALUE recv)

func RbObjInstanceExec

func RbObjInstanceExec(argc int, argv *VALUE, recv VALUE) VALUE

RbObjInstanceExec calls `rb_obj_instance_exec` in C

Original definition is following

VALUE rb_obj_instance_exec(int argc, const VALUE *argv, VALUE recv)

func RbObjInstanceVariables

func RbObjInstanceVariables(obj VALUE) VALUE

RbObjInstanceVariables calls `rb_obj_instance_variables` in C

Original definition is following

VALUE rb_obj_instance_variables(VALUE obj)

func RbObjIsFiber

func RbObjIsFiber(obj VALUE) VALUE

RbObjIsFiber calls `rb_obj_is_fiber` in C

Original definition is following

VALUE rb_obj_is_fiber(VALUE obj)

func RbObjIsInstanceOf

func RbObjIsInstanceOf(obj VALUE, klass VALUE) VALUE

RbObjIsInstanceOf calls `rb_obj_is_instance_of` in C

Original definition is following

VALUE rb_obj_is_instance_of(VALUE obj, VALUE klass)

func RbObjIsKindOf

func RbObjIsKindOf(obj VALUE, klass VALUE) VALUE

RbObjIsKindOf calls `rb_obj_is_kind_of` in C

Original definition is following

VALUE rb_obj_is_kind_of(VALUE obj, VALUE klass)

func RbObjIsMethod

func RbObjIsMethod(recv VALUE) VALUE

RbObjIsMethod calls `rb_obj_is_method` in C

Original definition is following

VALUE rb_obj_is_method(VALUE recv)

func RbObjIsProc

func RbObjIsProc(recv VALUE) VALUE

RbObjIsProc calls `rb_obj_is_proc` in C

Original definition is following

VALUE rb_obj_is_proc(VALUE recv)

func RbObjMethod

func RbObjMethod(recv VALUE, mid VALUE) VALUE

RbObjMethod calls `rb_obj_method` in C

Original definition is following

VALUE rb_obj_method(VALUE recv, VALUE mid)

func RbObjRemoveInstanceVariable

func RbObjRemoveInstanceVariable(obj VALUE, name VALUE) VALUE

RbObjRemoveInstanceVariable calls `rb_obj_remove_instance_variable` in C

Original definition is following

VALUE rb_obj_remove_instance_variable(VALUE obj, VALUE name)

func RbObjReveal

func RbObjReveal(obj VALUE, klass VALUE) VALUE

RbObjReveal calls `rb_obj_reveal` in C

Original definition is following

VALUE rb_obj_reveal(VALUE obj, VALUE klass)

func RbObjSetup

func RbObjSetup(obj VALUE, klass VALUE, t VALUE) VALUE

RbObjSetup calls `rb_obj_setup` in C

Original definition is following

VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type)

func RbObjSingletonMethods

func RbObjSingletonMethods(argc int, argv *VALUE, obj VALUE) VALUE

RbObjSingletonMethods calls `rb_obj_singleton_methods` in C

Original definition is following

VALUE rb_obj_singleton_methods(int argc, const VALUE *argv, VALUE obj)

func RbObjWbUnprotect

func RbObjWbUnprotect(x VALUE, filename string, line int) VALUE

RbObjWbUnprotect calls `rb_obj_wb_unprotect` in C

Original definition is following

rb_obj_wb_unprotect(

func RbObjWrite

func RbObjWrite(a VALUE, slot *VALUE, b VALUE, filename string, line int) VALUE

RbObjWrite calls `rb_obj_write` in C

Original definition is following

rb_obj_write(

func RbObjWritten

func RbObjWritten(a VALUE, oldv VALUE, b VALUE, filename string, line int) VALUE

RbObjWritten calls `rb_obj_written` in C

Original definition is following

rb_obj_written(

func RbPath2Class

func RbPath2Class(path string) VALUE

RbPath2Class calls `rb_path2class` in C

Original definition is following

VALUE rb_path2class(const char *path)

func RbPathToClass

func RbPathToClass(path VALUE) VALUE

RbPathToClass calls `rb_path_to_class` in C

Original definition is following

VALUE rb_path_to_class(VALUE path)

func RbProcCall

func RbProcCall(recv VALUE, args VALUE) VALUE

RbProcCall calls `rb_proc_call` in C

Original definition is following

VALUE rb_proc_call(VALUE recv, VALUE args)

func RbProcCallKw

func RbProcCallKw(recv VALUE, args VALUE, kw_splat int) VALUE

RbProcCallKw calls `rb_proc_call_kw` in C

Original definition is following

VALUE rb_proc_call_kw(VALUE recv, VALUE args, int kw_splat)

func RbProcCallWithBlock

func RbProcCallWithBlock(recv VALUE, argc int, argv *VALUE, proc VALUE) VALUE

RbProcCallWithBlock calls `rb_proc_call_with_block` in C

Original definition is following

VALUE rb_proc_call_with_block(VALUE recv, int argc, const VALUE *argv, VALUE proc)

func RbProcCallWithBlockKw

func RbProcCallWithBlockKw(recv VALUE, argc int, argv *VALUE, proc VALUE, kw_splat int) VALUE

RbProcCallWithBlockKw calls `rb_proc_call_with_block_kw` in C

Original definition is following

VALUE rb_proc_call_with_block_kw(VALUE recv, int argc, const VALUE *argv, VALUE proc, int kw_splat)

func RbProcLambdaP

func RbProcLambdaP(recv VALUE) VALUE

RbProcLambdaP calls `rb_proc_lambda_p` in C

Original definition is following

VALUE rb_proc_lambda_p(VALUE recv)

func RbProcNew

func RbProcNew(fun RbBlockCallFuncT, callback_arg VALUE) VALUE

RbProcNew calls `rb_proc_new` in C

Original definition is following

VALUE rb_proc_new(rb_block_call_func_t func, VALUE callback_arg)

func RbProcTimes

func RbProcTimes(arg VALUE) VALUE

RbProcTimes calls `rb_proc_times` in C

Original definition is following

VALUE rb_proc_times(VALUE _)

func RbProcessStatusWait

func RbProcessStatusWait(pid PidT, flags int) VALUE

RbProcessStatusWait calls `rb_process_status_wait` in C

Original definition is following

VALUE rb_process_status_wait(pid_t pid, int flags)

func RbProtect

func RbProtect(arg1 unsafe.Pointer, args VALUE, state *int) VALUE

RbProtect calls `rb_protect` in C

Original definition is following

VALUE rb_protect(VALUE (*func)(VALUE args), VALUE args, int *state)

func RbRandomBytes

func RbRandomBytes(rnd VALUE, n Long) VALUE

RbRandomBytes calls `rb_random_bytes` in C

Original definition is following

VALUE rb_random_bytes(VALUE rnd, long n)

func RbRangeBegLen

func RbRangeBegLen(r VALUE, begp *Long, lenp *Long, len Long, err int) VALUE

RbRangeBegLen calls `rb_range_beg_len` in C

Original definition is following

VALUE rb_range_beg_len(VALUE range, long *begp, long *lenp, long len, int err)

func RbRangeNew

func RbRangeNew(beg VALUE, end VALUE, excl int) VALUE

RbRangeNew calls `rb_range_new` in C

Original definition is following

VALUE rb_range_new(VALUE beg, VALUE end, int excl)

func RbRational

func RbRational(num VALUE, den VALUE) VALUE

RbRational calls `rb_Rational` in C

Original definition is following

VALUE rb_Rational(VALUE num, VALUE den)

func RbRationalDen

func RbRationalDen(rat VALUE) VALUE

RbRationalDen calls `rb_rational_den` in C

Original definition is following

VALUE rb_rational_den(VALUE rat)

func RbRationalNew

func RbRationalNew(num VALUE, den VALUE) VALUE

RbRationalNew calls `rb_rational_new` in C

Original definition is following

VALUE rb_rational_new(VALUE num, VALUE den)

func RbRationalNum

func RbRationalNum(rat VALUE) VALUE

RbRationalNum calls `rb_rational_num` in C

Original definition is following

VALUE rb_rational_num(VALUE rat)

func RbRationalRaw

func RbRationalRaw(num VALUE, den VALUE) VALUE

RbRationalRaw calls `rb_rational_raw` in C

Original definition is following

VALUE rb_rational_raw(VALUE num, VALUE den)

func RbRefinementNew

func RbRefinementNew() VALUE

RbRefinementNew calls `rb_refinement_new` in C

Original definition is following

VALUE rb_refinement_new(void)

func RbRegAlloc

func RbRegAlloc() VALUE

RbRegAlloc calls `rb_reg_alloc` in C

Original definition is following

VALUE rb_reg_alloc(void)

func RbRegInitStr

func RbRegInitStr(re VALUE, s VALUE, options int) VALUE

RbRegInitStr calls `rb_reg_init_str` in C

Original definition is following

VALUE rb_reg_init_str(VALUE re, VALUE s, int options)

func RbRegLastMatch

func RbRegLastMatch(md VALUE) VALUE

RbRegLastMatch calls `rb_reg_last_match` in C

Original definition is following

VALUE rb_reg_last_match(VALUE md)

func RbRegMatch

func RbRegMatch(re VALUE, str VALUE) VALUE

RbRegMatch calls `rb_reg_match` in C

Original definition is following

VALUE rb_reg_match(VALUE re, VALUE str)

func RbRegMatch2

func RbRegMatch2(re VALUE) VALUE

RbRegMatch2 calls `rb_reg_match2` in C

Original definition is following

VALUE rb_reg_match2(VALUE re)

func RbRegMatchLast

func RbRegMatchLast(md VALUE) VALUE

RbRegMatchLast calls `rb_reg_match_last` in C

Original definition is following

VALUE rb_reg_match_last(VALUE md)

func RbRegMatchPost

func RbRegMatchPost(md VALUE) VALUE

RbRegMatchPost calls `rb_reg_match_post` in C

Original definition is following

VALUE rb_reg_match_post(VALUE md)

func RbRegMatchPre

func RbRegMatchPre(md VALUE) VALUE

RbRegMatchPre calls `rb_reg_match_pre` in C

Original definition is following

VALUE rb_reg_match_pre(VALUE md)

func RbRegNew

func RbRegNew(src string, len Long, opts int) VALUE

RbRegNew calls `rb_reg_new` in C

Original definition is following

VALUE rb_reg_new(const char *src, long len, int opts)

func RbRegNewStr

func RbRegNewStr(src VALUE, opts int) VALUE

RbRegNewStr calls `rb_reg_new_str` in C

Original definition is following

VALUE rb_reg_new_str(VALUE src, int opts)

func RbRegNthDefined

func RbRegNthDefined(n int, md VALUE) VALUE

RbRegNthDefined calls `rb_reg_nth_defined` in C

Original definition is following

VALUE rb_reg_nth_defined(int n, VALUE md)

func RbRegNthMatch

func RbRegNthMatch(n int, md VALUE) VALUE

RbRegNthMatch calls `rb_reg_nth_match` in C

Original definition is following

VALUE rb_reg_nth_match(int n, VALUE md)

func RbRequire

func RbRequire(feature string) VALUE

RbRequire calls `rb_require` in C

Original definition is following

VALUE rb_require(const char *feature)

func RbRequireString

func RbRequireString(feature VALUE) VALUE

RbRequireString calls `rb_require_string` in C

Original definition is following

VALUE rb_require_string(VALUE feature)

func RbRescue

func RbRescue(arg1 unsafe.Pointer, data1 VALUE, arg3 unsafe.Pointer, data2 VALUE) VALUE

RbRescue calls `rb_rescue` in C

Original definition is following

VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2)

func RbRubyDebugPtr

func RbRubyDebugPtr() *VALUE

RbRubyDebugPtr calls `rb_ruby_debug_ptr` in C

Original definition is following

VALUE *rb_ruby_debug_ptr(void)

func RbRubyVerbosePtr

func RbRubyVerbosePtr() *VALUE

RbRubyVerbosePtr calls `rb_ruby_verbose_ptr` in C

Original definition is following

VALUE *rb_ruby_verbose_ptr(void)

func RbSingletonClass

func RbSingletonClass(obj VALUE) VALUE

RbSingletonClass calls `rb_singleton_class` in C

Original definition is following

VALUE rb_singleton_class(VALUE obj)

func RbSingletonClassClone

func RbSingletonClassClone(obj VALUE) VALUE

RbSingletonClassClone calls `rb_singleton_class_clone` in C

Original definition is following

VALUE rb_singleton_class_clone(VALUE obj)

func RbSpecialConstP

func RbSpecialConstP(obj VALUE) VALUE

RbSpecialConstP calls `rb_special_const_p` in C

Original definition is following

rb_special_const_p(VALUE obj)

func RbStr2Inum

func RbStr2Inum(str VALUE, base int) VALUE

RbStr2Inum calls `rb_str2inum` in C

Original definition is following

VALUE rb_str2inum(VALUE str, int base)

func RbStrAppend

func RbStrAppend(dst VALUE, src VALUE) VALUE

RbStrAppend calls `rb_str_append` in C

Original definition is following

VALUE rb_str_append(VALUE dst, VALUE src)

func RbStrBufAppend

func RbStrBufAppend(dst VALUE, src VALUE) VALUE

RbStrBufAppend calls `rb_str_buf_append` in C

Original definition is following

VALUE rb_str_buf_append(VALUE dst, VALUE src)

func RbStrBufCat

func RbStrBufCat(arg1 VALUE, arg2 string, arg3 Long) VALUE

RbStrBufCat calls `rb_str_buf_cat` in C

Original definition is following

VALUE rb_str_buf_cat(VALUE, const char*, long)

func RbStrBufCat2

func RbStrBufCat2(arg1 VALUE, arg2 string) VALUE

RbStrBufCat2 calls `rb_str_buf_cat2` in C

Original definition is following

VALUE rb_str_buf_cat2(VALUE, const char*)

func RbStrBufCatAscii

func RbStrBufCatAscii(dst VALUE, src string) VALUE

RbStrBufCatAscii calls `rb_str_buf_cat_ascii` in C

Original definition is following

VALUE rb_str_buf_cat_ascii(VALUE dst, const char *src)

func RbStrBufNew

func RbStrBufNew(capa Long) VALUE

RbStrBufNew calls `rb_str_buf_new` in C

Original definition is following

VALUE rb_str_buf_new(long capa)

func RbStrBufNewCstr

func RbStrBufNewCstr(ptr string) VALUE

RbStrBufNewCstr calls `rb_str_buf_new_cstr` in C

Original definition is following

VALUE rb_str_buf_new_cstr(const char *ptr)

func RbStrCat

func RbStrCat(dst VALUE, src string, srclen Long) VALUE

RbStrCat calls `rb_str_cat` in C

Original definition is following

VALUE rb_str_cat(VALUE dst, const char *src, long srclen)

func RbStrCat2

func RbStrCat2(arg1 VALUE, arg2 string) VALUE

RbStrCat2 calls `rb_str_cat2` in C

Original definition is following

VALUE rb_str_cat2(VALUE, const char*)

func RbStrCatCstr

func RbStrCatCstr(dst VALUE, src string) VALUE

RbStrCatCstr calls `rb_str_cat_cstr` in C

Original definition is following

VALUE rb_str_cat_cstr(VALUE dst, const char *src)

func RbStrConcat

func RbStrConcat(dst VALUE, src VALUE) VALUE

RbStrConcat calls `rb_str_concat` in C

Original definition is following

VALUE rb_str_concat(VALUE dst, VALUE src)

func RbStrDropBytes

func RbStrDropBytes(str VALUE, len Long) VALUE

RbStrDropBytes calls `rb_str_drop_bytes` in C

Original definition is following

VALUE rb_str_drop_bytes(VALUE str, long len)

func RbStrDump

func RbStrDump(str VALUE) VALUE

RbStrDump calls `rb_str_dump` in C

Original definition is following

VALUE rb_str_dump(VALUE str)

func RbStrDup

func RbStrDup(str VALUE) VALUE

RbStrDup calls `rb_str_dup` in C

Original definition is following

VALUE rb_str_dup(VALUE str)

func RbStrDupFrozen

func RbStrDupFrozen(arg1 VALUE) VALUE

RbStrDupFrozen calls `rb_str_dup_frozen` in C

Original definition is following

VALUE rb_str_dup_frozen(VALUE)

func RbStrEllipsize

func RbStrEllipsize(str VALUE, len Long) VALUE

RbStrEllipsize calls `rb_str_ellipsize` in C

Original definition is following

VALUE rb_str_ellipsize(VALUE str, long len)

func RbStrEncodeOspath

func RbStrEncodeOspath(path VALUE) VALUE

RbStrEncodeOspath calls `rb_str_encode_ospath` in C

Original definition is following

VALUE rb_str_encode_ospath(VALUE path)

func RbStrEqual

func RbStrEqual(str1 VALUE, str2 VALUE) VALUE

RbStrEqual calls `rb_str_equal` in C

Original definition is following

VALUE rb_str_equal(VALUE str1, VALUE str2)

func RbStrExport

func RbStrExport(obj VALUE) VALUE

RbStrExport calls `rb_str_export` in C

Original definition is following

VALUE rb_str_export(VALUE obj)

func RbStrExportLocale

func RbStrExportLocale(obj VALUE) VALUE

RbStrExportLocale calls `rb_str_export_locale` in C

Original definition is following

VALUE rb_str_export_locale(VALUE obj)

func RbStrFormat

func RbStrFormat(argc int, argv *VALUE, fmt VALUE) VALUE

RbStrFormat calls `rb_str_format` in C

Original definition is following

VALUE rb_str_format(int argc, const VALUE *argv, VALUE fmt)

func RbStrFreeze

func RbStrFreeze(str VALUE) VALUE

RbStrFreeze calls `rb_str_freeze` in C

Original definition is following

VALUE rb_str_freeze(VALUE str)

func RbStrInspect

func RbStrInspect(str VALUE) VALUE

RbStrInspect calls `rb_str_inspect` in C

Original definition is following

VALUE rb_str_inspect(VALUE str)

func RbStrIntern

func RbStrIntern(str VALUE) VALUE

RbStrIntern calls `rb_str_intern` in C

Original definition is following

VALUE rb_str_intern(VALUE str)

func RbStrLength

func RbStrLength(arg1 VALUE) VALUE

RbStrLength calls `rb_str_length` in C

Original definition is following

VALUE rb_str_length(VALUE)

func RbStrLocktmp

func RbStrLocktmp(str VALUE) VALUE

RbStrLocktmp calls `rb_str_locktmp` in C

Original definition is following

VALUE rb_str_locktmp(VALUE str)

func RbStrNew

func RbStrNew(ptr string, len Long) VALUE

RbStrNew calls `rb_str_new` in C

Original definition is following

VALUE rb_str_new(const char *ptr, long len)

func RbStrNewCstr

func RbStrNewCstr(ptr string) VALUE

RbStrNewCstr calls `rb_str_new_cstr` in C

Original definition is following

VALUE rb_str_new_cstr(const char *ptr)

func RbStrNewFrozen

func RbStrNewFrozen(str VALUE) VALUE

RbStrNewFrozen calls `rb_str_new_frozen` in C

Original definition is following

VALUE rb_str_new_frozen(VALUE str)

func RbStrNewShared

func RbStrNewShared(str VALUE) VALUE

RbStrNewShared calls `rb_str_new_shared` in C

Original definition is following

VALUE rb_str_new_shared(VALUE str)

func RbStrNewStatic

func RbStrNewStatic(ptr string, len Long) VALUE

RbStrNewStatic calls `rb_str_new_static` in C

Original definition is following

VALUE rb_str_new_static(const char *ptr, long len)

func RbStrNewWithClass

func RbStrNewWithClass(obj VALUE, ptr string, len Long) VALUE

RbStrNewWithClass calls `rb_str_new_with_class` in C

Original definition is following

VALUE rb_str_new_with_class(VALUE obj, const char *ptr, long len)

func RbStrPlus

func RbStrPlus(lhs VALUE, rhs VALUE) VALUE

RbStrPlus calls `rb_str_plus` in C

Original definition is following

VALUE rb_str_plus(VALUE lhs, VALUE rhs)

func RbStrReplace

func RbStrReplace(dst VALUE, src VALUE) VALUE

RbStrReplace calls `rb_str_replace` in C

Original definition is following

VALUE rb_str_replace(VALUE dst, VALUE src)

func RbStrResize

func RbStrResize(str VALUE, len Long) VALUE

RbStrResize calls `rb_str_resize` in C

Original definition is following

VALUE rb_str_resize(VALUE str, long len)

func RbStrResurrect

func RbStrResurrect(str VALUE) VALUE

RbStrResurrect calls `rb_str_resurrect` in C

Original definition is following

VALUE rb_str_resurrect(VALUE str)

func RbStrScrub

func RbStrScrub(str VALUE, repl VALUE) VALUE

RbStrScrub calls `rb_str_scrub` in C

Original definition is following

VALUE rb_str_scrub(VALUE str, VALUE repl)

func RbStrSplit

func RbStrSplit(str VALUE, delim string) VALUE

RbStrSplit calls `rb_str_split` in C

Original definition is following

VALUE rb_str_split(VALUE str, const char *delim)

func RbStrSubseq

func RbStrSubseq(str VALUE, beg Long, len Long) VALUE

RbStrSubseq calls `rb_str_subseq` in C

Original definition is following

VALUE rb_str_subseq(VALUE str, long beg, long len)

func RbStrSubstr

func RbStrSubstr(str VALUE, beg Long, len Long) VALUE

RbStrSubstr calls `rb_str_substr` in C

Original definition is following

VALUE rb_str_substr(VALUE str, long beg, long len)

func RbStrSucc

func RbStrSucc(orig VALUE) VALUE

RbStrSucc calls `rb_str_succ` in C

Original definition is following

VALUE rb_str_succ(VALUE orig)

func RbStrTimes

func RbStrTimes(str VALUE, num VALUE) VALUE

RbStrTimes calls `rb_str_times` in C

Original definition is following

VALUE rb_str_times(VALUE str, VALUE num)

func RbStrTmpNew

func RbStrTmpNew(len Long) VALUE

RbStrTmpNew calls `rb_str_tmp_new` in C

Original definition is following

VALUE rb_str_tmp_new(long len)

func RbStrToInternedStr

func RbStrToInternedStr(str VALUE) VALUE

RbStrToInternedStr calls `rb_str_to_interned_str` in C

Original definition is following

VALUE rb_str_to_interned_str(VALUE str)

func RbStrToInum

func RbStrToInum(str VALUE, base int, badcheck int) VALUE

RbStrToInum calls `rb_str_to_inum` in C

Original definition is following

VALUE rb_str_to_inum(VALUE str, int base, int badcheck)

func RbStrToStr

func RbStrToStr(obj VALUE) VALUE

RbStrToStr calls `rb_str_to_str` in C

Original definition is following

VALUE rb_str_to_str(VALUE obj)

func RbStrUnlocktmp

func RbStrUnlocktmp(str VALUE) VALUE

RbStrUnlocktmp calls `rb_str_unlocktmp` in C

Original definition is following

VALUE rb_str_unlocktmp(VALUE str)

func RbString

func RbString(val VALUE) VALUE

RbString calls `rb_String` in C

Original definition is following

VALUE rb_String(VALUE val)

func RbStringValue

func RbStringValue(ptr *VALUE) VALUE

RbStringValue calls `rb_string_value` in C

Original definition is following

VALUE rb_string_value(volatile VALUE *ptr)

func RbStructAlloc

func RbStructAlloc(klass VALUE, values VALUE) VALUE

RbStructAlloc calls `rb_struct_alloc` in C

Original definition is following

VALUE rb_struct_alloc(VALUE klass, VALUE values)

func RbStructAllocNoinit

func RbStructAllocNoinit(klass VALUE) VALUE

RbStructAllocNoinit calls `rb_struct_alloc_noinit` in C

Original definition is following

VALUE rb_struct_alloc_noinit(VALUE klass)

func RbStructAref

func RbStructAref(st VALUE, k VALUE) VALUE

RbStructAref calls `rb_struct_aref` in C

Original definition is following

VALUE rb_struct_aref(VALUE st, VALUE k)

func RbStructAset

func RbStructAset(st VALUE, k VALUE, v VALUE) VALUE

RbStructAset calls `rb_struct_aset` in C

Original definition is following

VALUE rb_struct_aset(VALUE st, VALUE k, VALUE v)

func RbStructGetmember

func RbStructGetmember(self VALUE, key ID) VALUE

RbStructGetmember calls `rb_struct_getmember` in C

Original definition is following

VALUE rb_struct_getmember(VALUE self, ID key)

func RbStructInitialize

func RbStructInitialize(self VALUE, values VALUE) VALUE

RbStructInitialize calls `rb_struct_initialize` in C

Original definition is following

VALUE rb_struct_initialize(VALUE self, VALUE values)

func RbStructMembers

func RbStructMembers(self VALUE) VALUE

RbStructMembers calls `rb_struct_members` in C

Original definition is following

VALUE rb_struct_members(VALUE self)

func RbStructSMembers

func RbStructSMembers(klass VALUE) VALUE

RbStructSMembers calls `rb_struct_s_members` in C

Original definition is following

VALUE rb_struct_s_members(VALUE klass)

func RbStructSize

func RbStructSize(st VALUE) VALUE

RbStructSize calls `rb_struct_size` in C

Original definition is following

VALUE rb_struct_size(VALUE st)

func RbSym2Str

func RbSym2Str(id VALUE) VALUE

RbSym2Str calls `rb_sym2str` in C

Original definition is following

VALUE rb_sym2str(VALUE id)

func RbSymAllSymbols

func RbSymAllSymbols() VALUE

RbSymAllSymbols calls `rb_sym_all_symbols` in C

Original definition is following

VALUE rb_sym_all_symbols(void)

func RbSymToS

func RbSymToS(sym VALUE) VALUE

RbSymToS calls `rb_sym_to_s` in C

Original definition is following

VALUE rb_sym_to_s(VALUE sym)

func RbSyserrNew

func RbSyserrNew(err int, msg string) VALUE

RbSyserrNew calls `rb_syserr_new` in C

Original definition is following

VALUE rb_syserr_new(int err, const char * msg)

func RbSyserrNewStr

func RbSyserrNewStr(n int, arg VALUE) VALUE

RbSyserrNewStr calls `rb_syserr_new_str` in C

Original definition is following

VALUE rb_syserr_new_str(int n, VALUE arg)

func RbThreadCreate

func RbThreadCreate(arg1 unsafe.Pointer, g unsafe.Pointer) VALUE

RbThreadCreate calls `rb_thread_create` in C

Original definition is following

VALUE rb_thread_create(VALUE (*f)(void *g), void *g)

func RbThreadCurrent

func RbThreadCurrent() VALUE

RbThreadCurrent calls `rb_thread_current` in C

Original definition is following

VALUE rb_thread_current(void)

func RbThreadKill

func RbThreadKill(thread VALUE) VALUE

RbThreadKill calls `rb_thread_kill` in C

Original definition is following

VALUE rb_thread_kill(VALUE thread)

func RbThreadLocalAref

func RbThreadLocalAref(thread VALUE, key ID) VALUE

RbThreadLocalAref calls `rb_thread_local_aref` in C

Original definition is following

VALUE rb_thread_local_aref(VALUE thread, ID key)

func RbThreadLocalAset

func RbThreadLocalAset(thread VALUE, key ID, val VALUE) VALUE

RbThreadLocalAset calls `rb_thread_local_aset` in C

Original definition is following

VALUE rb_thread_local_aset(VALUE thread, ID key, VALUE val)

func RbThreadMain

func RbThreadMain() VALUE

RbThreadMain calls `rb_thread_main` in C

Original definition is following

VALUE rb_thread_main(void)

func RbThreadRun

func RbThreadRun(thread VALUE) VALUE

RbThreadRun calls `rb_thread_run` in C

Original definition is following

VALUE rb_thread_run(VALUE thread)

func RbThreadStop

func RbThreadStop() VALUE

RbThreadStop calls `rb_thread_stop` in C

Original definition is following

VALUE rb_thread_stop(void)

func RbThreadWakeup

func RbThreadWakeup(thread VALUE) VALUE

RbThreadWakeup calls `rb_thread_wakeup` in C

Original definition is following

VALUE rb_thread_wakeup(VALUE thread)

func RbThreadWakeupAlive

func RbThreadWakeupAlive(thread VALUE) VALUE

RbThreadWakeupAlive calls `rb_thread_wakeup_alive` in C

Original definition is following

VALUE rb_thread_wakeup_alive(VALUE thread)

func RbTimeNanoNew

func RbTimeNanoNew(sec TimeT, nsec Long) VALUE

RbTimeNanoNew calls `rb_time_nano_new` in C

Original definition is following

VALUE rb_time_nano_new(time_t sec, long nsec)

func RbTimeNew

func RbTimeNew(sec TimeT, usec Long) VALUE

RbTimeNew calls `rb_time_new` in C

Original definition is following

VALUE rb_time_new(time_t sec, long usec)

func RbTimeNumNew

func RbTimeNumNew(timev VALUE, off VALUE) VALUE

RbTimeNumNew calls `rb_time_num_new` in C

Original definition is following

VALUE rb_time_num_new(VALUE timev, VALUE off)

func RbTimeTimespecNew

func RbTimeTimespecNew(ts *Timespec, offset int) VALUE

RbTimeTimespecNew calls `rb_time_timespec_new` in C

Original definition is following

VALUE rb_time_timespec_new(const struct timespec *ts, int offset)

func RbTimeUtcOffset

func RbTimeUtcOffset(time VALUE) VALUE

RbTimeUtcOffset calls `rb_time_utc_offset` in C

Original definition is following

VALUE rb_time_utc_offset(VALUE time)

func RbToFloat

func RbToFloat(val VALUE) VALUE

RbToFloat calls `rb_to_float` in C

Original definition is following

VALUE rb_to_float(VALUE val)

func RbToInt

func RbToInt(val VALUE) VALUE

RbToInt calls `rb_to_int` in C

Original definition is following

VALUE rb_to_int(VALUE val)

func RbToSymbol

func RbToSymbol(name VALUE) VALUE

RbToSymbol calls `rb_to_symbol` in C

Original definition is following

VALUE rb_to_symbol(VALUE name)

func RbUint2Big

func RbUint2Big(i UintptrT) VALUE

RbUint2Big calls `rb_uint2big` in C

Original definition is following

VALUE rb_uint2big(uintptr_t i)

func RbUint2Inum

func RbUint2Inum(i UintptrT) VALUE

RbUint2Inum calls `rb_uint2inum` in C

Original definition is following

VALUE rb_uint2inum(uintptr_t i)

func RbUint2NumInline

func RbUint2NumInline(v uint) VALUE

RbUint2NumInline calls `rb_uint2num_inline` in C

Original definition is following

rb_uint2num_inline(unsigned int v)

func RbUll2Inum

func RbUll2Inum(num Ulonglong) VALUE

RbUll2Inum calls `rb_ull2inum` in C

Original definition is following

VALUE rb_ull2inum(unsigned

func RbUll2NumInline

func RbUll2NumInline(n Ulonglong) VALUE

RbUll2NumInline calls `rb_ull2num_inline` in C

Original definition is following

rb_ull2num_inline(unsigned

func RbUlong2NumInline

func RbUlong2NumInline(v uint) VALUE

RbUlong2NumInline calls `rb_ulong2num_inline` in C

Original definition is following

rb_ulong2num_inline(unsigned long v)

func RbUndefineFinalizer

func RbUndefineFinalizer(obj VALUE) VALUE

RbUndefineFinalizer calls `rb_undefine_finalizer` in C

Original definition is following

VALUE rb_undefine_finalizer(VALUE obj)

func RbUsasciiStrNew

func RbUsasciiStrNew(ptr string, len Long) VALUE

RbUsasciiStrNew calls `rb_usascii_str_new` in C

Original definition is following

VALUE rb_usascii_str_new(const char *ptr, long len)

func RbUsasciiStrNewCstr

func RbUsasciiStrNewCstr(ptr string) VALUE

RbUsasciiStrNewCstr calls `rb_usascii_str_new_cstr` in C

Original definition is following

VALUE rb_usascii_str_new_cstr(const char *ptr)

func RbUsasciiStrNewStatic

func RbUsasciiStrNewStatic(ptr string, len Long) VALUE

RbUsasciiStrNewStatic calls `rb_usascii_str_new_static` in C

Original definition is following

VALUE rb_usascii_str_new_static(const char *ptr, long len)

func RbUtf8StrNew

func RbUtf8StrNew(ptr string, len Long) VALUE

RbUtf8StrNew calls `rb_utf8_str_new` in C

Original definition is following

VALUE rb_utf8_str_new(const char *ptr, long len)

func RbUtf8StrNewCstr

func RbUtf8StrNewCstr(ptr string) VALUE

RbUtf8StrNewCstr calls `rb_utf8_str_new_cstr` in C

Original definition is following

VALUE rb_utf8_str_new_cstr(const char *ptr)

func RbUtf8StrNewStatic

func RbUtf8StrNewStatic(ptr string, len Long) VALUE

RbUtf8StrNewStatic calls `rb_utf8_str_new_static` in C

Original definition is following

VALUE rb_utf8_str_new_static(const char *ptr, long len)

func RbYield

func RbYield(val VALUE) VALUE

RbYield calls `rb_yield` in C

Original definition is following

VALUE rb_yield(VALUE val)

func RbYieldBlock

func RbYieldBlock(yielded_arg VALUE, callback_arg VALUE, argc int, argv *VALUE, blockarg VALUE) VALUE

RbYieldBlock calls `rb_yield_block` in C

Original definition is following

VALUE rb_yield_block(VALUE yielded_arg, VALUE callback_arg, int argc, const VALUE *argv, VALUE blockarg)

func RbYieldSplat

func RbYieldSplat(ary VALUE) VALUE

RbYieldSplat calls `rb_yield_splat` in C

Original definition is following

VALUE rb_yield_splat(VALUE ary)

func RbYieldSplatKw

func RbYieldSplatKw(ary VALUE, kw_splat int) VALUE

RbYieldSplatKw calls `rb_yield_splat_kw` in C

Original definition is following

VALUE rb_yield_splat_kw(VALUE ary, int kw_splat)

func RbYieldValues2

func RbYieldValues2(n int, argv *VALUE) VALUE

RbYieldValues2 calls `rb_yield_values2` in C

Original definition is following

VALUE rb_yield_values2(int n, const VALUE *argv)

func RbYieldValuesKw

func RbYieldValuesKw(n int, argv *VALUE, kw_splat int) VALUE

RbYieldValuesKw calls `rb_yield_values_kw` in C

Original definition is following

VALUE rb_yield_values_kw(int n, const VALUE *argv, int kw_splat)

func Slice2rbAry

func Slice2rbAry(slice []VALUE) VALUE

Slice2rbAry convert from Go slice to rb_ary

func String2Value

func String2Value(str string) VALUE

String2Value convert from Go string to VALUE

type VaList

type VaList C.va_list

VaList is a type for passing `C.va_list` in and out of package

type Void

type Void C.void

Void is a type for passing `C.void` in and out of package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL