Documentation
¶
Overview ¶
Package ruby is a wrapper for creating Ruby native extension in Go
ref.
Index ¶
- func Bool2Int(b bool) int
- func Char2String(char *Char) string
- func GetGoStruct(obj VALUE) unsafe.Pointer
- func Int2Bool(i Int) bool
- func NUM2INT(x VALUE) int
- func RB_FIX2INT(x VALUE) int
- func RB_FIX2UINT(x VALUE) uint
- func RB_FL_REVERSE(obj VALUE, flags VALUE)
- func RB_FL_REVERSE_RAW(obj VALUE, flags VALUE)
- func RB_FL_SET(obj VALUE, flags VALUE)
- func RB_FL_SET_RAW(obj VALUE, flags VALUE)
- func RB_FL_UNSET(obj VALUE, flags VALUE)
- func RB_FL_UNSET_RAW(obj VALUE, flags VALUE)
- func RB_NUM2UINT(x VALUE) uint
- func RB_OBJ_FREEZE_RAW(obj VALUE)
- func RSTRING_END(str VALUE) string
- func RSTRING_LENINT(str VALUE) int
- func RbAbsintSinglebitP(val VALUE) int
- func RbAddEventHook(fun RbEventHookFuncT, events RbEventFlagT, data VALUE)
- func RbAlias(klass VALUE, dst ID, src ID)
- func RbAliasVariable(dst ID, src ID)
- func RbAllocTmpBuffer(store *VALUE, len Long) unsafe.Pointer
- func RbAllocTmpBuffer2(store *VALUE, count Long, elsize SizeT) unsafe.Pointer
- func RbAllocTmpBufferWithCount(store *VALUE, len SizeT, count SizeT) unsafe.Pointer
- func RbArithmeticSequenceExtract(as VALUE, buf *RbArithmeticSequenceComponentsT) int
- func RbAryFree(ary VALUE)
- func RbAryModify(ary VALUE)
- func RbAryPtrUseEnd(a VALUE)
- func RbAryStore(ary VALUE, key Long, val VALUE)
- func RbAssertFailure(file string, line int, name string, expr string)
- func RbAttr(klass VALUE, name ID, need_reader int, need_writer int, honour_visibility int)
- func RbBackrefSet(md VALUE)
- func RbBacktrace()
- func RbBig2Comp(num VALUE)
- func RbBig2Ulong(x VALUE) uint
- func RbBigPack(val VALUE, buf *uint, num_longs Long)
- func RbBigResize(big VALUE, len SizeT)
- func RbBigSign(num VALUE) int
- func RbBigzeroP(x VALUE) int
- func RbBlockGivenP() int
- func RbBugErrno(msg string, err int)
- func RbCheckArity(argc int, min int, max int) int
- func RbCheckCopyable(obj VALUE, orig VALUE)
- func RbCheckFrozen(obj VALUE)
- func RbCheckFrozenInline(obj VALUE)
- func RbCheckInheritable(super VALUE)
- func RbCheckType(obj VALUE, t int)
- func RbCheckTypeddata(obj VALUE, data_type *RbDataTypeT) unsafe.Pointer
- func RbClass2Name(klass VALUE) string
- func RbClearConstantCacheForId(id ID)
- func RbCloexecDup(oldfd int) int
- func RbCloexecDup2(oldfd int, newfd int) int
- func RbCloexecFcntlDupfd(fd int, minfd int) int
- func RbCloexecOpen(pathname string, flags int, mode ModeT) int
- func RbCloexecPipe(fildes []int) int
- func RbCloseBeforeExec(lowfd int, maxhint int, noclose_fds VALUE)
- func RbCmperr(a VALUE, b VALUE)
- func RbCmpint(val VALUE, a VALUE, b VALUE) int
- func RbConstDefined(space VALUE, name ID) int
- func RbConstDefinedAt(space VALUE, name ID) int
- func RbConstDefinedFrom(space VALUE, name ID) int
- func RbConstSet(space VALUE, name ID, val VALUE)
- func RbCopyGenericIvar(clone VALUE, obj VALUE)
- func RbCvSet(klass VALUE, name string, val VALUE)
- func RbCvarSet(klass VALUE, name ID, val VALUE)
- func RbDataObjectGet(obj VALUE) unsafe.Pointer
- func RbDebugRstringNullPtr(fun string)
- func RbDefineAlias(klass VALUE, dst string, src string)
- func RbDefineAllocFunc(klass VALUE, fun unsafe.Pointer)
- func RbDefineAttr(klass VALUE, name string, read int, write int)
- func RbDefineClassVariable(arg1 VALUE, arg2 string, arg3 VALUE)
- func RbDefineConst(klass VALUE, name string, val VALUE)
- func RbDefineGlobalConst(name string, val VALUE)
- func RbDefineGlobalFunction(mid string, arg2 unsafe.Pointer, arity int)
- func RbDefineHookedVariable(name string, v *VALUE, getter *RbGvarGetterT, setter *RbGvarSetterT)
- func RbDefineMethod(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)
- func RbDefineMethodId(klass VALUE, mid ID, arg3 unsafe.Pointer, arity int)
- func RbDefineModuleFunction(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)
- func RbDefinePrivateMethod(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)
- func RbDefineProtectedMethod(klass VALUE, mid string, arg3 unsafe.Pointer, arity int)
- func RbDefineReadonlyVariable(name string, v *VALUE)
- func RbDefineSingletonMethod(obj VALUE, mid string, arg3 unsafe.Pointer, arity int)
- func RbDefineVariable(name string, v *VALUE)
- func RbDefineVirtualVariable(name string, getter *RbGvarGetterT, setter *RbGvarSetterT)
- func RbDeprecateConstant(mod VALUE, name string)
- func RbDuringGc() int
- func RbEql(lhs VALUE, rhs VALUE) int
- func RbErrno() int
- func RbErrnoSet(err int)
- func RbErrorArity(argc int, min int, max int)
- func RbErrorFrozen(what string)
- func RbErrorFrozenObject(what VALUE)
- func RbExcFatal(exc VALUE)
- func RbExcRaise(exc VALUE)
- func RbExit(status int)
- func RbExtRactorSafe(flag Bool)
- func RbExtResolveSymbol(feature string, symbol string) unsafe.Pointer
- func RbExtendObject(obj VALUE, mod VALUE)
- func RbFdClr(fd int, f *RbFdsetT)
- func RbFdCopy(dst *RbFdsetT, src *FdSet, max int)
- func RbFdDup(dst *RbFdsetT, src *RbFdsetT)
- func RbFdFixCloexec(fd int)
- func RbFdInit(f *RbFdsetT)
- func RbFdIsset(fd int, f *RbFdsetT) int
- func RbFdMax(f *RbFdsetT) int
- func RbFdSelect(nfds int, rfds *RbFdsetT, wfds *RbFdsetT, efds *RbFdsetT, timeout *Timeval) int
- func RbFdSet(fd int, f *RbFdsetT)
- func RbFdTerm(f *RbFdsetT)
- func RbFdZero(f *RbFdsetT)
- func RbFeatureProvided(feature string, loading **Char) int
- func RbFindFileExt(feature *VALUE, exts []string) int
- func RbFix2Uint(num VALUE) uint
- func RbFix2Ulong(x VALUE) uint
- func RbFrameMethodIdAndClass(idp *ID, klassp *VALUE) int
- func RbFreeGenericIvar(obj VALUE)
- func RbFreeTmpBuffer(store *VALUE)
- func RbFreezeSingletonClass(klass VALUE)
- func RbGc()
- func RbGcAdjustMemoryUsage(diff SsizeT)
- func RbGcCopyFinalizer(dst VALUE, src VALUE)
- func RbGcMark(obj VALUE)
- func RbGcMarkLocations(start *VALUE, end *VALUE)
- func RbGcMarkMaybe(obj VALUE)
- func RbGcMarkMovable(obj VALUE)
- func RbGcRegisterAddress(valptr *VALUE)
- func RbGcRegisterMarkObject(object VALUE)
- func RbGcUnregisterAddress(valptr *VALUE)
- func RbGcUpdateTblRefs(ptr *StTable)
- func RbGcWritebarrier(old VALUE, young VALUE)
- func RbGcWritebarrierUnprotect(obj VALUE)
- func RbGenrandInt32() uint
- func RbGenrandUlongLimited(i uint) uint
- func RbGetAllocFunc(klass VALUE) unsafe.Pointer
- func RbGetKwargs(keyword_hash VALUE, table *ID, required int, optional int, values *VALUE) int
- func RbGlob(pattern string, arg2 unsafe.Pointer, arg VALUE)
- func RbGlobalVariable(arg1 *VALUE)
- func RbHashBulkInsert(argc Long, argv *VALUE, hash VALUE)
- func RbHashBulkInsertIntoStTable(arg1 Long, arg2 *VALUE, arg3 VALUE)
- func RbHashForeach(hash VALUE, arg2 unsafe.Pointer, arg VALUE)
- func RbId2Name(id ID) string
- func RbIncludeModule(klass VALUE, module VALUE)
- func RbIntegerPack(val VALUE, words unsafe.Pointer, numwords SizeT, wordsize SizeT, nails SizeT, ...) int
- func RbInterrupt()
- func RbInvalidStr(str string, t string)
- func RbIsAbsolutePath(path string) int
- func RbIsAttrsetId(id ID) int
- func RbIsClassId(id ID) int
- func RbIsConstId(id ID) int
- func RbIsGlobalId(id ID) int
- func RbIsInstanceId(id ID) int
- func RbIsJunkId(arg1 ID) int
- func RbIsLocalId(id ID) int
- func RbIsalnum(c int) int
- func RbIsalpha(c int) int
- func RbIsascii(c int) int
- func RbIsblank(c int) int
- func RbIscntrl(c int) int
- func RbIsdigit(c int) int
- func RbIsgraph(c int) int
- func RbIslower(c int) int
- func RbIsprint(c int) int
- func RbIspunct(c int) int
- func RbIsspace(c int) int
- func RbIsupper(c int) int
- func RbIsxdigit(c int) int
- func RbIterBreak()
- func RbIterBreakValue(val VALUE)
- func RbIvarForeach(obj VALUE, arg2 unsafe.Pointer, arg StDataT)
- func RbJumpTag(state int)
- func RbKeywordGivenP() int
- func RbLastStatusSet(status int, pid PidT)
- func RbLastlineSet(str VALUE)
- func RbLoad(path VALUE, wrap int)
- func RbLoadFile(file string) unsafe.Pointer
- func RbLoadFileStr(file VALUE) unsafe.Pointer
- func RbLoadProtect(path VALUE, wrap int, state *int)
- func RbLong2IntInline(n Long) int
- func RbMarkHash(tbl *StTable)
- func RbMarkSet(tbl *StTable)
- func RbMarkTbl(tbl *StTable)
- func RbMarkTblNoPin(tbl *StTable)
- func RbMarshalDefineCompat(newclass VALUE, oldclass VALUE, arg3 unsafe.Pointer, arg4 unsafe.Pointer)
- func RbMatchBusy(md VALUE)
- func RbMemClear(buf *VALUE, len Long)
- func RbMemcicmp(s1 unsafe.Pointer, s2 unsafe.Pointer, n Long) int
- func RbMemerror()
- func RbMethodBasicDefinitionP(klass VALUE, mid ID) int
- func RbMethodBoundp(klass VALUE, id ID, ex int) int
- func RbModConstAt(arg1 VALUE, arg2 unsafe.Pointer) unsafe.Pointer
- func RbModConstOf(arg1 VALUE, arg2 unsafe.Pointer) unsafe.Pointer
- func RbModMethodArity(mod VALUE, mid ID) int
- func RbModSysFail(mod VALUE, msg string)
- func RbModSysFailStr(mod VALUE, msg VALUE)
- func RbModSyserrFail(mod VALUE, err int, msg string)
- func RbModSyserrFailStr(mod VALUE, err int, msg VALUE)
- func RbMulSizeOverflow(a SizeT, b SizeT, max SizeT, c *SizeT) int
- func RbMustAsciicompat(obj VALUE)
- func RbNeedBlock()
- func RbNotimplement()
- func RbNum2IntInline(x VALUE) int
- func RbNum2Uint(num VALUE) uint
- func RbNum2Ulong(num VALUE) uint
- func RbNum2UlongInline(x VALUE) uint
- func RbNumZerodiv()
- func RbObjCallInit(obj VALUE, argc int, argv *VALUE)
- func RbObjCallInitKw(arg1 VALUE, arg2 int, arg3 *VALUE, arg4 int)
- func RbObjClassname(obj VALUE) string
- func RbObjFreezeInline(obj VALUE)
- func RbObjMethodArity(obj VALUE, mid ID) int
- func RbObjRespondTo(obj VALUE, mid ID, private_p int) int
- func RbOutOfInt(num Long)
- func RbP(obj VALUE)
- func RbPathCheck(path string) int
- func RbPipe(pipes *int) int
- func RbPrependModule(klass VALUE, module VALUE)
- func RbProcArity(recv VALUE) int
- func RbProcExec(cmd string) int
- func RbProvide(feature string)
- func RbProvided(feature string) int
- func RbRaise(exc VALUE, format string, a ...interface{})
- func RbRandomInt32(rnd VALUE) uint
- func RbRandomUlongLimited(rnd VALUE, limit uint) uint
- func RbRangeValues(r VALUE, begp *VALUE, endp *VALUE, exclp *int) int
- func RbReadwriteSysFail(waiting RbIoWaitReadwrite, msg string)
- func RbReadwriteSyserrFail(waiting RbIoWaitReadwrite, err int, msg string)
- func RbRegBackrefNumber(match VALUE, backref VALUE) int
- func RbRegOptions(re VALUE) int
- func RbRemoveEventHook(fun RbEventHookFuncT) int
- func RbRemoveMethod(klass VALUE, name string)
- func RbRemoveMethodId(klass VALUE, mid ID)
- func RbReservedFdP(fd int) int
- func RbResetRandomSeed()
- func RbRespondTo(obj VALUE, mid ID) int
- func RbScanArgsBlockIdx(fmt string) int
- func RbScanArgsHashIdx(fmt string) int
- func RbScanArgsNLead(fmt string) int
- func RbScanArgsNOpt(fmt string) int
- func RbScanArgsNTrail(fmt string) int
- func RbScanArgsSet(kw_flag int, argc int, argv *VALUE, n_lead int, n_opt int, n_trail int, ...) int
- func RbScanArgsTrailIdx(fmt string) int
- func RbScanArgsVarIdx(fmt string) int
- func RbSetClassPath(klass VALUE, space VALUE, name string)
- func RbSetClassPathString(klass VALUE, space VALUE, name VALUE)
- func RbSetEndProc(arg1 unsafe.Pointer, arg VALUE)
- func RbSetErrinfo(err VALUE)
- func RbSingletonClassAttached(klass VALUE, obj VALUE)
- func RbSourcefile() string
- func RbSourceline() int
- func RbStAddDirect(arg1 *StTable, arg2 StDataT, arg3 StDataT)
- func RbStCleanupSafe(arg1 *StTable, arg2 StDataT)
- func RbStClear(arg1 *StTable)
- func RbStDelete(arg1 *StTable, arg2 *StDataT, arg3 *StDataT) int
- func RbStDeleteSafe(arg1 *StTable, arg2 *StDataT, arg3 *StDataT, arg4 StDataT) int
- func RbStForeach(arg1 *StTable, arg2 *StForeachCallbackFunc, arg3 StDataT) int
- func RbStForeachCheck(arg1 *StTable, arg2 *StForeachCheckCallbackFunc, arg3 StDataT, arg4 StDataT) int
- func RbStForeachSafe(st *StTable, fun *StForeachCallbackFunc, arg StDataT)
- func RbStForeachWithReplace(tab *StTable, fun *StForeachCheckCallbackFunc, replace *StUpdateCallbackFunc, ...) int
- func RbStFreeTable(arg1 *StTable)
- func RbStGetKey(arg1 *StTable, arg2 StDataT, arg3 *StDataT) int
- func RbStInsert(arg1 *StTable, arg2 StDataT, arg3 StDataT) int
- func RbStInsert2(arg1 *StTable, arg2 StDataT, arg3 StDataT, arg4 unsafe.Pointer) int
- func RbStLocaleInsensitiveStrcasecmp(s1 string, s2 string) int
- func RbStLocaleInsensitiveStrncasecmp(s1 string, s2 string, n SizeT) int
- func RbStLookup(arg1 *StTable, arg2 StDataT, arg3 *StDataT) int
- func RbStNumcmp(arg1 StDataT, arg2 StDataT) int
- func RbStShift(arg1 *StTable, arg2 *StDataT, arg3 *StDataT) int
- func RbStUpdate(table *StTable, key StDataT, fun *StUpdateCallbackFunc, arg StDataT) int
- func RbStrCmp(lhs VALUE, rhs VALUE) int
- func RbStrComparable(str1 VALUE, str2 VALUE) int
- func RbStrFree(str VALUE)
- func RbStrHashCmp(str1 VALUE, str2 VALUE) int
- func RbStrModify(str VALUE)
- func RbStrModifyExpand(str VALUE, capa Long)
- func RbStrSetLen(str VALUE, len Long)
- func RbStrSharedReplace(dst VALUE, src VALUE)
- func RbStrSubpos(str VALUE, beg Long, len *Long) string
- func RbStrUpdate(dst VALUE, beg Long, len Long, src VALUE)
- func RbStringValueCstr(ptr *VALUE) string
- func RbStringValuePtr(ptr *VALUE) string
- func RbSymnameP(str string) int
- func RbSysFail(msg string)
- func RbSysFailStr(msg VALUE)
- func RbSyserrFail(err int, msg string)
- func RbSyserrFailStr(err int, msg VALUE)
- func RbSyswait(pid PidT)
- func RbThreadAlone() int
- func RbThreadAtfork()
- func RbThreadAtforkBeforeExec()
- func RbThreadCheckInts()
- func RbThreadFdClose(fd int)
- func RbThreadFdSelect(nfds int, rfds *RbFdsetT, wfds *RbFdsetT, efds *RbFdsetT, timeout *Timeval) int
- func RbThreadFdWritable(fd int) int
- func RbThreadInterrupted(thval VALUE) int
- func RbThreadSchedule()
- func RbThreadSleep(sec int)
- func RbThreadSleepDeadly()
- func RbThreadSleepForever()
- func RbThreadWaitFd(fd int) int
- func RbThreadWaitFor(time Timeval)
- func RbThrow(tag string, val VALUE)
- func RbThrowObj(tag VALUE, val VALUE)
- func RbTimespecNow(ts *Timespec)
- func RbTolower(c int) int
- func RbToupper(c int) int
- func RbTypeddataInheritedP(child *RbDataTypeT, parent *RbDataTypeT) int
- func RbTypeddataIsKindOf(obj VALUE, data_type *RbDataTypeT) int
- func RbUndef(mod VALUE, mid ID)
- func RbUndefAllocFunc(klass VALUE)
- func RbUndefMethod(klass VALUE, name string)
- func RbUnexpectedType(self VALUE, t int)
- func RbUpdateMaxFd(fd int)
- func RbUvToUtf8(buf []Char, uv uint) int
- func RbWriteError(str string)
- func RbWriteError2(str string, len Long)
- func Value2String(str VALUE) string
- type Bool
- func RB_DYNAMIC_SYM_P(obj VALUE) Bool
- func RB_FIXNUM_P(obj VALUE) Bool
- func RB_FLOAT_TYPE_P(obj VALUE) Bool
- func RB_FLONUM_P(obj VALUE) Bool
- func RB_FL_ABLE(obj VALUE) Bool
- func RB_FL_ALL(obj VALUE, flags VALUE) Bool
- func RB_FL_ALL_RAW(obj VALUE, flags VALUE) Bool
- func RB_FL_ANY(obj VALUE, flags VALUE) Bool
- func RB_FL_ANY_RAW(obj VALUE, flags VALUE) Bool
- func RB_IMMEDIATE_P(obj VALUE) Bool
- func RB_NIL_OR_UNDEF_P(obj VALUE) Bool
- func RB_NIL_P(obj VALUE) Bool
- func RB_OBJ_FROZEN(obj VALUE) Bool
- func RB_OBJ_PROMOTED(obj VALUE) Bool
- func RB_OBJ_PROMOTED_RAW(obj VALUE) Bool
- func RB_SPECIAL_CONST_P(obj VALUE) Bool
- func RB_STATIC_SYM_P(obj VALUE) Bool
- func RB_SYMBOL_P(obj VALUE) Bool
- func RB_TEST(obj VALUE) Bool
- func RB_TYPE_P(obj VALUE, t RubyValueType) Bool
- func RB_UNDEF_P(obj VALUE) Bool
- func RbIntegerTypeP(obj VALUE) Bool
- func RbScanArgsFBlock(fmt string) Bool
- func RbScanArgsFHash(fmt string) Bool
- func RbScanArgsFVar(fmt string) Bool
- func RbScanArgsKeywordP(kw_flag int, last VALUE) Bool
- func RbScanArgsLeadP(fmt string) Bool
- func RbScanArgsOptP(fmt string) Bool
- type Char
- type Double
- type FdSet
- type ID
- type Int
- type IntptrT
- type Long
- func NUM2LONG(num VALUE) Long
- func RSTRING_LEN(str VALUE) Long
- func RbArrayLen(a VALUE) Long
- func RbBig2Long(x VALUE) Long
- func RbFix2Int(num VALUE) Long
- func RbFix2Long(x VALUE) Long
- func RbNum2Int(num VALUE) Long
- func RbNum2Long(num VALUE) Long
- func RbNum2LongInline(x VALUE) Long
- func RbStrOffset(str VALUE, pos Long) Long
- func RbStrStrlen(str VALUE) Long
- func RbStrSublen(str VALUE, pos Long) Long
- func StringLen(str string) Long
- type Longlong
- type ModeT
- type OffT
- type PidT
- type RbAllocFuncT
- type RbArithmeticSequenceComponentsT
- type RbBlockCallFunc
- type RbBlockCallFuncT
- type RbBlockingFunctionT
- type RbDataTypeT
- type RbEnumeratorSizeFunc
- type RbEventFlagT
- type RbEventHookFuncT
- type RbFdsetT
- type RbGvarGetterT
- type RbGvarMarkerT
- type RbGvarSetterT
- type RbHashUpdateFunc
- type RbIoWaitReadwrite
- type RbUnblockFunctionT
- type RbWarningCategoryT
- type RubyValueType
- type Short
- type SizeT
- func RbAbsintNumwords(val VALUE, word_numbits SizeT, nlz_bits_ret *SizeT) SizeT
- func RbAbsintSize(val VALUE, nlz_bits_ret *int) SizeT
- func RbGcCount() SizeT
- func RbGcStat(key_or_buf VALUE) SizeT
- func RbHashSizeNum(hash VALUE) SizeT
- func RbStMemsize(arg1 *StTable) SizeT
- func RbStTableSize(tbl *StTable) SizeT
- func RbStrCapacity(str VALUE) SizeT
- type SsizeT
- type StCheckForSizeofStIndexT
- type StCompareFunc
- type StDataT
- type StForeachCallbackFunc
- type StForeachCheckCallbackFunc
- type StHashFunc
- type StHashType
- type StIndexT
- func RbHashStart(i StIndexT) StIndexT
- func RbIvarCount(obj VALUE) StIndexT
- func RbMemhash(ptr unsafe.Pointer, len Long) StIndexT
- func RbStHash(ptr unsafe.Pointer, len SizeT, h StIndexT) StIndexT
- func RbStHashEnd(h StIndexT) StIndexT
- func RbStHashStart(h StIndexT) StIndexT
- func RbStHashUint(h StIndexT, i StIndexT) StIndexT
- func RbStHashUint32(h StIndexT, i Uint32T) StIndexT
- func RbStKeys(table *StTable, keys *StDataT, size StIndexT) StIndexT
- func RbStKeysCheck(table *StTable, keys *StDataT, size StIndexT, never StDataT) StIndexT
- func RbStNumhash(arg1 StDataT) StIndexT
- func RbStValues(table *StTable, values *StDataT, size StIndexT) StIndexT
- func RbStValuesCheck(table *StTable, values *StDataT, size StIndexT, never StDataT) StIndexT
- func RbStrHash(str VALUE) StIndexT
- type StTable
- func RbHashTbl(hash VALUE, file string, line int) *StTable
- func RbStCopy(arg1 *StTable) *StTable
- func RbStInitExistingTableWithSize(tab *StTable, t *StHashType, size StIndexT) *StTable
- func RbStInitNumtable() *StTable
- func RbStInitNumtableWithSize(arg1 StIndexT) *StTable
- func RbStInitStrcasetable() *StTable
- func RbStInitStrcasetableWithSize(arg1 StIndexT) *StTable
- func RbStInitStrtable() *StTable
- func RbStInitStrtableWithSize(arg1 StIndexT) *StTable
- func RbStInitTable(arg1 *StHashType) *StTable
- func RbStInitTableWithSize(arg1 *StHashType, arg2 StIndexT) *StTable
- func RbStReplace(new_tab *StTable, old_tab *StTable) *StTable
- type StTableEntry
- type StUpdateCallbackFunc
- type StructStHashType
- type StructTimespec
- type StructTimeval
- type TimeT
- type Timespec
- type Timeval
- type Uchar
- type Uint32T
- type UintptrT
- type Ulonglong
- type Ushort
- type VALUE
- func CallFunction(receiver VALUE, methodName string, args ...VALUE) VALUE
- func INT2NUM(v int) VALUE
- func LONG2NUM(v Long) VALUE
- func NewGoStruct(klass VALUE, goobj unsafe.Pointer) VALUE
- func Qfalse() VALUE
- func Qnil() VALUE
- func Qtrue() VALUE
- func Qundef() VALUE
- func RB_CHR2FIX(c Uchar) VALUE
- func RB_FL_TEST(obj VALUE, flags VALUE) VALUE
- func RB_FL_TEST_RAW(obj VALUE, flags VALUE) VALUE
- func RB_INT2FIX(i Long) VALUE
- func RB_OBJ_FROZEN_RAW(obj VALUE) VALUE
- func RB_ST2FIX(i StDataT) VALUE
- func RbAnyToS(obj VALUE) VALUE
- func RbApply(recv VALUE, mid ID, args VALUE) VALUE
- func RbArithmeticSequenceBegLenStep(as VALUE, begp *Long, lenp *Long, stepp *Long, len Long, err int) VALUE
- func RbArray(val VALUE) VALUE
- func RbArrayConstPtr(a VALUE) *VALUE
- func RbAryAref(argc int, argv *VALUE, ary VALUE) VALUE
- func RbAryAssoc(alist VALUE, key VALUE) VALUE
- func RbAryCat(ary VALUE, train *VALUE, len Long) VALUE
- func RbAryClear(ary VALUE) VALUE
- func RbAryCmp(lhs VALUE, rhs VALUE) VALUE
- func RbAryConcat(lhs VALUE, rhs VALUE) VALUE
- func RbAryDelete(ary VALUE, elem VALUE) VALUE
- func RbAryDeleteAt(ary VALUE, pos Long) VALUE
- func RbAryDup(ary VALUE) VALUE
- func RbAryEach(ary VALUE) VALUE
- func RbAryEntry(ary VALUE, off Long) VALUE
- func RbAryFreeze(obj VALUE) VALUE
- func RbAryHiddenNew(capa Long) VALUE
- func RbAryIncludes(ary VALUE, elem VALUE) VALUE
- func RbAryJoin(ary VALUE, sep VALUE) VALUE
- func RbAryNew() VALUE
- func RbAryNew2(capa Long) VALUE
- func RbAryNewCapa(capa Long) VALUE
- func RbAryNewFromValues(n Long, elts *VALUE) VALUE
- func RbAryPlus(lhs VALUE, rhs VALUE) VALUE
- func RbAryPop(ary VALUE) VALUE
- func RbAryPtrUseStart(ary VALUE) *VALUE
- func RbAryPush(ary VALUE, elem VALUE) VALUE
- func RbAryRassoc(alist VALUE, key VALUE) VALUE
- func RbAryReplace(copy VALUE, orig VALUE) VALUE
- func RbAryResize(ary VALUE, len Long) VALUE
- func RbAryResurrect(ary VALUE) VALUE
- func RbAryReverse(ary VALUE) VALUE
- func RbAryRotate(ary VALUE, rot Long) VALUE
- func RbArySharedWithP(lhs VALUE, rhs VALUE) VALUE
- func RbAryShift(ary VALUE) VALUE
- func RbArySort(ary VALUE) VALUE
- func RbArySortBang(ary VALUE) VALUE
- func RbArySubseq(ary VALUE, beg Long, len Long) VALUE
- func RbAryToAry(obj VALUE) VALUE
- func RbAryToS(ary VALUE) VALUE
- func RbAryUnshift(ary VALUE, elem VALUE) VALUE
- func RbAssocNew(car VALUE, cdr VALUE) VALUE
- func RbAttrGet(obj VALUE, name ID) VALUE
- func RbAutoloadLoad(space VALUE, name ID) VALUE
- func RbAutoloadP(space VALUE, name ID) VALUE
- func RbBackrefGet() VALUE
- func RbBig2Str(x VALUE, base int) VALUE
- func RbBigAnd(x VALUE, y VALUE) VALUE
- func RbBigClone(num VALUE) VALUE
- func RbBigCmp(lhs VALUE, rhs VALUE) VALUE
- func RbBigDiv(x VALUE, y VALUE) VALUE
- func RbBigDivmod(x VALUE, y VALUE) VALUE
- func RbBigEq(lhs VALUE, rhs VALUE) VALUE
- func RbBigEql(lhs VALUE, rhs VALUE) VALUE
- func RbBigIdiv(x VALUE, y VALUE) VALUE
- func RbBigLshift(x VALUE, y VALUE) VALUE
- func RbBigMinus(x VALUE, y VALUE) VALUE
- func RbBigModulo(x VALUE, y VALUE) VALUE
- func RbBigMul(x VALUE, y VALUE) VALUE
- func RbBigNew(len SizeT, sign int) VALUE
- func RbBigNorm(x VALUE) VALUE
- func RbBigOr(x VALUE, y VALUE) VALUE
- func RbBigPlus(x VALUE, y VALUE) VALUE
- func RbBigPow(x VALUE, y VALUE) VALUE
- func RbBigRshift(x VALUE, y VALUE) VALUE
- func RbBigUnpack(buf *uint, num_longs Long) VALUE
- func RbBigXor(x VALUE, y VALUE) VALUE
- func RbBindingNew() VALUE
- func RbBlockCall(obj VALUE, mid ID, argc int, argv *VALUE, proc RbBlockCallFuncT, data2 VALUE) VALUE
- func RbBlockCallKw(obj VALUE, mid ID, argc int, argv *VALUE, proc RbBlockCallFuncT, data2 VALUE, ...) VALUE
- func RbBlockLambda() VALUE
- func RbBlockProc() VALUE
- func RbCallSuper(argc int, argv *VALUE) VALUE
- func RbCallSuperKw(argc int, argv *VALUE, kw_splat int) VALUE
- func RbCatch(tag string, fun RbBlockCallFuncT, data VALUE) VALUE
- func RbCatchObj(tag VALUE, fun RbBlockCallFuncT, data VALUE) VALUE
- func RbCheckArrayType(obj VALUE) VALUE
- func RbCheckConvertType(val VALUE, t int, name string, mid string) VALUE
- func RbCheckFuncall(recv VALUE, mid ID, argc int, argv *VALUE) VALUE
- func RbCheckFuncallKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE
- func RbCheckHashType(obj VALUE) VALUE
- func RbCheckStringType(obj VALUE) VALUE
- func RbCheckSymbol(namep *VALUE) VALUE
- func RbCheckToFloat(val VALUE) VALUE
- func RbCheckToInt(val VALUE) VALUE
- func RbCheckToInteger(val VALUE, mid string) VALUE
- func RbClassAttachedObject(klass VALUE) VALUE
- func RbClassGetSuperclass(klass VALUE) VALUE
- func RbClassInheritedP(scion VALUE, ascendant VALUE) VALUE
- func RbClassInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE
- func RbClassName(obj VALUE) VALUE
- func RbClassNew(super VALUE) VALUE
- func RbClassNewInstance(argc int, argv *VALUE, klass VALUE) VALUE
- func RbClassNewInstanceKw(argc int, argv *VALUE, klass VALUE, kw_splat int) VALUE
- func RbClassNewInstancePassKw(argc int, argv *VALUE, klass VALUE) VALUE
- func RbClassOf(obj VALUE) VALUE
- func RbClassPath(mod VALUE) VALUE
- func RbClassPathCached(mod VALUE) VALUE
- func RbClassPrivateInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE
- func RbClassProtectedInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE
- func RbClassPublicInstanceMethods(argc int, argv *VALUE, mod VALUE) VALUE
- func RbClassReal(klass VALUE) VALUE
- func RbClassSubclasses(klass VALUE) VALUE
- func RbClassSuperclass(klass VALUE) VALUE
- func RbComplex(real VALUE, imag VALUE) VALUE
- func RbComplexAbs(z VALUE) VALUE
- func RbComplexArg(z VALUE) VALUE
- func RbComplexConjugate(z VALUE) VALUE
- func RbComplexDiv(x VALUE, y VALUE) VALUE
- func RbComplexImag(z VALUE) VALUE
- func RbComplexMinus(x VALUE, y VALUE) VALUE
- func RbComplexMul(x VALUE, y VALUE) VALUE
- func RbComplexNew(real VALUE, imag VALUE) VALUE
- func RbComplexNewPolar(abs VALUE, arg VALUE) VALUE
- func RbComplexPlus(x VALUE, y VALUE) VALUE
- func RbComplexPow(base VALUE, exp VALUE) VALUE
- func RbComplexRaw(real VALUE, imag VALUE) VALUE
- func RbComplexReal(z VALUE) VALUE
- func RbComplexUminus(z VALUE) VALUE
- func RbConstGet(space VALUE, name ID) VALUE
- func RbConstGetAt(space VALUE, name ID) VALUE
- func RbConstGetFrom(space VALUE, name ID) VALUE
- func RbConstList(arg1 unsafe.Pointer) VALUE
- func RbConstRemove(space VALUE, name ID) VALUE
- func RbConvertType(val VALUE, t int, name string, mid string) VALUE
- func RbCstr2Inum(str string, base int) VALUE
- func RbCstrToInum(str string, base int, badcheck int) VALUE
- func RbCurrentReceiver() VALUE
- func RbCvGet(klass VALUE, name string) VALUE
- func RbCvarDefined(klass VALUE, name ID) VALUE
- func RbCvarFind(klass VALUE, name ID, front *VALUE) VALUE
- func RbCvarGet(klass VALUE, name ID) VALUE
- func RbDataObjectMake(klass VALUE, mark_func unsafe.Pointer, free_func unsafe.Pointer, ...) VALUE
- func RbDataObjectWrap(klass VALUE, datap unsafe.Pointer, dmark unsafe.Pointer, dfree unsafe.Pointer) VALUE
- func RbDataObjectZalloc(klass VALUE, size SizeT, dmark unsafe.Pointer, dfree unsafe.Pointer) VALUE
- func RbDataTypedObjectMake(klass VALUE, t *RbDataTypeT, datap *unsafe.Pointer, size SizeT) VALUE
- func RbDataTypedObjectWrap(klass VALUE, datap unsafe.Pointer, t *RbDataTypeT) VALUE
- func RbDataTypedObjectZalloc(klass VALUE, size SizeT, t *RbDataTypeT) VALUE
- func RbDbl2Big(d Double) VALUE
- func RbDblCmp(lhs Double, rhs Double) VALUE
- func RbDblComplexNew(real Double, imag Double) VALUE
- func RbDefineClass(name string, super VALUE) VALUE
- func RbDefineClassId(id ID, super VALUE) VALUE
- func RbDefineClassIdUnder(outer VALUE, id ID, super VALUE) VALUE
- func RbDefineClassUnder(outer VALUE, name string, super VALUE) VALUE
- func RbDefineFinalizer(obj VALUE, block VALUE) VALUE
- func RbDefineModule(name string) VALUE
- func RbDefineModuleId(id ID) VALUE
- func RbDefineModuleIdUnder(outer VALUE, id ID) VALUE
- func RbDefineModuleUnder(outer VALUE, name string) VALUE
- func RbDetachProcess(pid PidT) VALUE
- func RbDirGetwd() VALUE
- func RbEach(obj VALUE) VALUE
- func RbEnsure(arg1 unsafe.Pointer, data1 VALUE, arg3 unsafe.Pointer, data2 VALUE) VALUE
- func RbEnumValuesPack(argc int, argv *VALUE) VALUE
- func RbEnumeratorize(recv VALUE, meth VALUE, argc int, argv *VALUE) VALUE
- func RbEnumeratorizeWithSize(recv VALUE, meth VALUE, argc int, argv *VALUE, fun *RbEnumeratorSizeFunc) VALUE
- func RbEnumeratorizeWithSizeKw(recv VALUE, meth VALUE, argc int, argv *VALUE, fun *RbEnumeratorSizeFunc, ...) VALUE
- func RbEnvClear() VALUE
- func RbEqual(lhs VALUE, rhs VALUE) VALUE
- func RbErrinfo() VALUE
- func RbEvalCmdKw(cmd VALUE, arg VALUE, kw_splat int) VALUE
- func RbEvalString(str string) VALUE
- func RbEvalStringProtect(str string, state *int) VALUE
- func RbEvalStringWrap(str string, state *int) VALUE
- func RbExcNew(etype VALUE, ptr string, len Long) VALUE
- func RbExcNewCstr(etype VALUE, str string) VALUE
- func RbExcNewStr(etype VALUE, str VALUE) VALUE
- func RbExecRecursive(arg1 unsafe.Pointer, g VALUE, h VALUE) VALUE
- func RbExecRecursiveOuter(arg1 unsafe.Pointer, g VALUE, h VALUE) VALUE
- func RbExecRecursivePaired(arg1 unsafe.Pointer, g VALUE, p VALUE, h VALUE) VALUE
- func RbExecRecursivePairedOuter(arg1 unsafe.Pointer, g VALUE, p VALUE, h VALUE) VALUE
- func RbExternalStrNew(ptr string, len Long) VALUE
- func RbExternalStrNewCstr(ptr string) VALUE
- func RbExtractKeywords(orighash *VALUE) VALUE
- func RbFAbort(argc int, argv *VALUE) VALUE
- func RbFExec(argc int, argv *VALUE) VALUE
- func RbFExit(argc int, argv *VALUE) VALUE
- func RbFGlobalVariables() VALUE
- func RbFKill(argc int, argv *VALUE) VALUE
- func RbFNotimplement(argc int, argv *VALUE, obj VALUE, marker VALUE) VALUE
- func RbFRequire(self VALUE, feature VALUE) VALUE
- func RbFSprintf(argc int, argv *VALUE) VALUE
- func RbFTraceVar(argc int, argv *VALUE) VALUE
- func RbFUntraceVar(argc int, argv *VALUE) VALUE
- func RbFiberAliveP(fiber VALUE) VALUE
- func RbFiberCurrent() VALUE
- func RbFiberNew(fun RbBlockCallFuncT, callback_obj VALUE) VALUE
- func RbFiberNewStorage(fun RbBlockCallFuncT, callback_obj VALUE, storage VALUE) VALUE
- func RbFiberRaise(fiber VALUE, argc int, argv *VALUE) VALUE
- func RbFiberResume(fiber VALUE, argc int, argv *VALUE) VALUE
- func RbFiberResumeKw(fiber VALUE, argc int, argv *VALUE, kw_splat int) VALUE
- func RbFiberTransfer(fiber VALUE, argc int, argv *VALUE) VALUE
- func RbFiberTransferKw(fiber VALUE, argc int, argv *VALUE, kw_splat int) VALUE
- func RbFiberYield(argc int, argv *VALUE) VALUE
- func RbFiberYieldKw(argc int, argv *VALUE, kw_splat int) VALUE
- func RbFileAbsolutePath(fname VALUE, dname VALUE) VALUE
- func RbFileDirectoryP(arg VALUE, path VALUE) VALUE
- func RbFileDirname(fname VALUE) VALUE
- func RbFileExpandPath(fname VALUE, dname VALUE) VALUE
- func RbFileOpen(fname string, fmode string) VALUE
- func RbFileOpenStr(fname VALUE, fmode string) VALUE
- func RbFileSAbsolutePath(argc int, argv *VALUE) VALUE
- func RbFileSExpandPath(argc int, argv *VALUE) VALUE
- func RbFilesystemStrNew(ptr string, len Long) VALUE
- func RbFilesystemStrNewCstr(ptr string) VALUE
- func RbFindFile(path VALUE) VALUE
- func RbFix2Str(val VALUE, base int) VALUE
- func RbFloat(val VALUE) VALUE
- func RbFloatNew(d Double) VALUE
- func RbFloatNewInHeap(d Double) VALUE
- func RbFltRationalize(flt VALUE) VALUE
- func RbFltRationalizeWithPrec(flt VALUE, prec VALUE) VALUE
- func RbFuncall2(recv VALUE, mid ID, argc int, argv []VALUE) VALUE
- func RbFuncall3(recv VALUE, mid ID, argc int, argv []VALUE) VALUE
- func RbFuncallPassingBlock(recv VALUE, mid ID, argc int, argv *VALUE) VALUE
- func RbFuncallPassingBlockKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE
- func RbFuncallWithBlock(recv VALUE, mid ID, argc int, argv *VALUE, procval VALUE) VALUE
- func RbFuncallWithBlockKw(recv VALUE, mid ID, argc int, argv *VALUE, procval VALUE, kw_splat int) VALUE
- func RbFuncallv(recv VALUE, mid ID, argc int, argv []VALUE) VALUE
- func RbFuncallvKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE
- func RbFuncallvPublic(recv VALUE, mid ID, argc int, argv []VALUE) VALUE
- func RbFuncallvPublicKw(recv VALUE, mid ID, argc int, argv *VALUE, kw_splat int) VALUE
- func RbGcDisable() VALUE
- func RbGcEnable() VALUE
- func RbGcLatestGcInfo(key_or_buf VALUE) VALUE
- func RbGcLocation(obj VALUE) VALUE
- func RbGcStart() VALUE
- func RbGetArgv() VALUE
- func RbGetPath(obj VALUE) VALUE
- func RbGetPathNoChecksafe(arg1 VALUE) VALUE
- func RbGetValuesAt(obj VALUE, olen Long, argc int, argv *VALUE, arg5 unsafe.Pointer) VALUE
- func RbGets() VALUE
- func RbGvGet(name string) VALUE
- func RbGvSet(name string, val VALUE) VALUE
- func RbHash(obj VALUE) VALUE
- func RbHashAref(hash VALUE, key VALUE) VALUE
- func RbHashAset(hash VALUE, key VALUE, val VALUE) VALUE
- func RbHashClear(hash VALUE) VALUE
- func RbHashDelete(hash VALUE, key VALUE) VALUE
- func RbHashDeleteIf(hash VALUE) VALUE
- func RbHashDup(hash VALUE) VALUE
- func RbHashFetch(hash VALUE, key VALUE) VALUE
- func RbHashFreeze(obj VALUE) VALUE
- func RbHashLookup(hash VALUE, key VALUE) VALUE
- func RbHashLookup2(hash VALUE, key VALUE, def VALUE) VALUE
- func RbHashNew() VALUE
- func RbHashNewCapa(capa Long) VALUE
- func RbHashSetIfnone(hash VALUE, ifnone VALUE) VALUE
- func RbHashSize(hash VALUE) VALUE
- func RbHashUpdateBy(hash1 VALUE, hash2 VALUE, fun *RbHashUpdateFunc) VALUE
- func RbId2Str(id ID) VALUE
- func RbId2Sym(id ID) VALUE
- func RbInspect(obj VALUE) VALUE
- func RbInt2Big(i IntptrT) VALUE
- func RbInt2Inum(i IntptrT) VALUE
- func RbInt2NumInline(v int) VALUE
- func RbIntPositivePow(x Long, y uint) VALUE
- func RbInteger(val VALUE) VALUE
- func RbIntegerUnpack(words unsafe.Pointer, numwords SizeT, wordsize SizeT, nails SizeT, flags int) VALUE
- func RbInternedStr(ptr string, len Long) VALUE
- func RbInternedStrCstr(ptr string) VALUE
- func RbIoAddstr(io VALUE, str VALUE) VALUE
- func RbIoAscii8BitBinmode(io VALUE) VALUE
- func RbIoBinmode(io VALUE) VALUE
- func RbIoClose(io VALUE) VALUE
- func RbIoEof(io VALUE) VALUE
- func RbIoFdopen(fd int, flags int, path string) VALUE
- func RbIoFlush(io VALUE) VALUE
- func RbIoGetbyte(io VALUE) VALUE
- func RbIoGets(io VALUE) VALUE
- func RbIoPrint(argc int, argv *VALUE, io VALUE) VALUE
- func RbIoPrintf(argc int, argv *VALUE, io VALUE) VALUE
- func RbIoPuts(argc int, argv *VALUE, io VALUE) VALUE
- func RbIoUngetbyte(io VALUE, b VALUE) VALUE
- func RbIoUngetc(io VALUE, c VALUE) VALUE
- func RbIoWrite(io VALUE, str VALUE) VALUE
- func RbIvGet(obj VALUE, name string) VALUE
- func RbIvSet(obj VALUE, name string, val VALUE) VALUE
- func RbIvarDefined(obj VALUE, name ID) VALUE
- func RbIvarGet(obj VALUE, name ID) VALUE
- func RbIvarSet(obj VALUE, name ID, val VALUE) VALUE
- func RbLastStatusGet() VALUE
- func RbLastlineGet() VALUE
- func RbLl2Inum(num Longlong) VALUE
- func RbLl2NumInline(n Longlong) VALUE
- func RbLocaleStrNew(ptr string, len Long) VALUE
- func RbLocaleStrNewCstr(ptr string) VALUE
- func RbLong2NumInline(v Long) VALUE
- func RbMakeBacktrace() VALUE
- func RbMakeException(argc int, argv *VALUE) VALUE
- func RbMarshalDump(obj VALUE, port VALUE) VALUE
- func RbMarshalLoad(port VALUE) VALUE
- func RbMemoryId(obj VALUE) VALUE
- func RbMethodCall(argc int, argv *VALUE, recv VALUE) VALUE
- func RbMethodCallKw(argc int, argv *VALUE, recv VALUE, kw_splat int) VALUE
- func RbMethodCallWithBlock(argc int, argv *VALUE, recv VALUE, proc VALUE) VALUE
- func RbMethodCallWithBlockKw(argc int, argv *VALUE, recv VALUE, proc VALUE, kw_splat int) VALUE
- func RbModAncestors(mod VALUE) VALUE
- func RbModClassVariables(argc int, argv *VALUE, recv VALUE) VALUE
- func RbModConstants(argc int, argv *VALUE, recv VALUE) VALUE
- func RbModIncludeP(child VALUE, parent VALUE) VALUE
- func RbModIncludedModules(mod VALUE) VALUE
- func RbModInitCopy(clone VALUE, orig VALUE) VALUE
- func RbModModuleEval(argc int, argv *VALUE, mod VALUE) VALUE
- func RbModModuleExec(argc int, argv *VALUE, mod VALUE) VALUE
- func RbModName(mod VALUE) VALUE
- func RbModRemoveConst(space VALUE, name VALUE) VALUE
- func RbModRemoveCvar(mod VALUE, name VALUE) VALUE
- func RbModuleNew() VALUE
- func RbMutexLock(mutex VALUE) VALUE
- func RbMutexLockedP(mutex VALUE) VALUE
- func RbMutexNew() VALUE
- func RbMutexSleep(self VALUE, timeout VALUE) VALUE
- func RbMutexSynchronize(mutex VALUE, arg2 unsafe.Pointer, arg VALUE) VALUE
- func RbMutexTrylock(mutex VALUE) VALUE
- func RbMutexUnlock(mutex VALUE) VALUE
- func RbNewobj() VALUE
- func RbNewobjOf(klass VALUE, flags VALUE) VALUE
- func RbNum2Fix(val VALUE) VALUE
- func RbNumCoerceBin(lhs VALUE, rhs VALUE, op ID) VALUE
- func RbNumCoerceBit(lhs VALUE, rhs VALUE, op ID) VALUE
- func RbNumCoerceCmp(lhs VALUE, rhs VALUE, op ID) VALUE
- func RbNumCoerceRelop(lhs VALUE, rhs VALUE, op ID) VALUE
- func RbObjAlloc(klass VALUE) VALUE
- func RbObjAsString(obj VALUE) VALUE
- func RbObjClass(obj VALUE) VALUE
- func RbObjClone(obj VALUE) VALUE
- func RbObjDup(obj VALUE) VALUE
- func RbObjFreeze(obj VALUE) VALUE
- func RbObjFrozenP(obj VALUE) VALUE
- func RbObjHide(obj VALUE) VALUE
- func RbObjId(obj VALUE) VALUE
- func RbObjInitCopy(src VALUE, dst VALUE) VALUE
- func RbObjInstanceEval(argc int, argv *VALUE, recv VALUE) VALUE
- func RbObjInstanceExec(argc int, argv *VALUE, recv VALUE) VALUE
- func RbObjInstanceVariables(obj VALUE) VALUE
- func RbObjIsFiber(obj VALUE) VALUE
- func RbObjIsInstanceOf(obj VALUE, klass VALUE) VALUE
- func RbObjIsKindOf(obj VALUE, klass VALUE) VALUE
- func RbObjIsMethod(recv VALUE) VALUE
- func RbObjIsProc(recv VALUE) VALUE
- func RbObjMethod(recv VALUE, mid VALUE) VALUE
- func RbObjRemoveInstanceVariable(obj VALUE, name VALUE) VALUE
- func RbObjReveal(obj VALUE, klass VALUE) VALUE
- func RbObjSetup(obj VALUE, klass VALUE, t VALUE) VALUE
- func RbObjSingletonMethods(argc int, argv *VALUE, obj VALUE) VALUE
- func RbObjWbUnprotect(x VALUE, filename string, line int) VALUE
- func RbObjWrite(a VALUE, slot *VALUE, b VALUE, filename string, line int) VALUE
- func RbObjWritten(a VALUE, oldv VALUE, b VALUE, filename string, line int) VALUE
- func RbPath2Class(path string) VALUE
- func RbPathToClass(path VALUE) VALUE
- func RbProcCall(recv VALUE, args VALUE) VALUE
- func RbProcCallKw(recv VALUE, args VALUE, kw_splat int) VALUE
- func RbProcCallWithBlock(recv VALUE, argc int, argv *VALUE, proc VALUE) VALUE
- func RbProcCallWithBlockKw(recv VALUE, argc int, argv *VALUE, proc VALUE, kw_splat int) VALUE
- func RbProcLambdaP(recv VALUE) VALUE
- func RbProcNew(fun RbBlockCallFuncT, callback_arg VALUE) VALUE
- func RbProcTimes(arg VALUE) VALUE
- func RbProcessStatusWait(pid PidT, flags int) VALUE
- func RbProtect(arg1 unsafe.Pointer, args VALUE, state *int) VALUE
- func RbRandomBytes(rnd VALUE, n Long) VALUE
- func RbRangeBegLen(r VALUE, begp *Long, lenp *Long, len Long, err int) VALUE
- func RbRangeNew(beg VALUE, end VALUE, excl int) VALUE
- func RbRational(num VALUE, den VALUE) VALUE
- func RbRationalDen(rat VALUE) VALUE
- func RbRationalNew(num VALUE, den VALUE) VALUE
- func RbRationalNum(rat VALUE) VALUE
- func RbRationalRaw(num VALUE, den VALUE) VALUE
- func RbRefinementNew() VALUE
- func RbRegAlloc() VALUE
- func RbRegInitStr(re VALUE, s VALUE, options int) VALUE
- func RbRegLastMatch(md VALUE) VALUE
- func RbRegMatch(re VALUE, str VALUE) VALUE
- func RbRegMatch2(re VALUE) VALUE
- func RbRegMatchLast(md VALUE) VALUE
- func RbRegMatchPost(md VALUE) VALUE
- func RbRegMatchPre(md VALUE) VALUE
- func RbRegNew(src string, len Long, opts int) VALUE
- func RbRegNewStr(src VALUE, opts int) VALUE
- func RbRegNthDefined(n int, md VALUE) VALUE
- func RbRegNthMatch(n int, md VALUE) VALUE
- func RbRequire(feature string) VALUE
- func RbRequireString(feature VALUE) VALUE
- func RbRescue(arg1 unsafe.Pointer, data1 VALUE, arg3 unsafe.Pointer, data2 VALUE) VALUE
- func RbRubyDebugPtr() *VALUE
- func RbRubyVerbosePtr() *VALUE
- func RbSingletonClass(obj VALUE) VALUE
- func RbSingletonClassClone(obj VALUE) VALUE
- func RbSpecialConstP(obj VALUE) VALUE
- func RbStr2Inum(str VALUE, base int) VALUE
- func RbStrAppend(dst VALUE, src VALUE) VALUE
- func RbStrBufAppend(dst VALUE, src VALUE) VALUE
- func RbStrBufCat(arg1 VALUE, arg2 string, arg3 Long) VALUE
- func RbStrBufCat2(arg1 VALUE, arg2 string) VALUE
- func RbStrBufCatAscii(dst VALUE, src string) VALUE
- func RbStrBufNew(capa Long) VALUE
- func RbStrBufNewCstr(ptr string) VALUE
- func RbStrCat(dst VALUE, src string, srclen Long) VALUE
- func RbStrCat2(arg1 VALUE, arg2 string) VALUE
- func RbStrCatCstr(dst VALUE, src string) VALUE
- func RbStrConcat(dst VALUE, src VALUE) VALUE
- func RbStrDropBytes(str VALUE, len Long) VALUE
- func RbStrDump(str VALUE) VALUE
- func RbStrDup(str VALUE) VALUE
- func RbStrDupFrozen(arg1 VALUE) VALUE
- func RbStrEllipsize(str VALUE, len Long) VALUE
- func RbStrEncodeOspath(path VALUE) VALUE
- func RbStrEqual(str1 VALUE, str2 VALUE) VALUE
- func RbStrExport(obj VALUE) VALUE
- func RbStrExportLocale(obj VALUE) VALUE
- func RbStrFormat(argc int, argv *VALUE, fmt VALUE) VALUE
- func RbStrFreeze(str VALUE) VALUE
- func RbStrInspect(str VALUE) VALUE
- func RbStrIntern(str VALUE) VALUE
- func RbStrLength(arg1 VALUE) VALUE
- func RbStrLocktmp(str VALUE) VALUE
- func RbStrNew(ptr string, len Long) VALUE
- func RbStrNewCstr(ptr string) VALUE
- func RbStrNewFrozen(str VALUE) VALUE
- func RbStrNewShared(str VALUE) VALUE
- func RbStrNewStatic(ptr string, len Long) VALUE
- func RbStrNewWithClass(obj VALUE, ptr string, len Long) VALUE
- func RbStrPlus(lhs VALUE, rhs VALUE) VALUE
- func RbStrReplace(dst VALUE, src VALUE) VALUE
- func RbStrResize(str VALUE, len Long) VALUE
- func RbStrResurrect(str VALUE) VALUE
- func RbStrScrub(str VALUE, repl VALUE) VALUE
- func RbStrSplit(str VALUE, delim string) VALUE
- func RbStrSubseq(str VALUE, beg Long, len Long) VALUE
- func RbStrSubstr(str VALUE, beg Long, len Long) VALUE
- func RbStrSucc(orig VALUE) VALUE
- func RbStrTimes(str VALUE, num VALUE) VALUE
- func RbStrTmpNew(len Long) VALUE
- func RbStrToInternedStr(str VALUE) VALUE
- func RbStrToInum(str VALUE, base int, badcheck int) VALUE
- func RbStrToStr(obj VALUE) VALUE
- func RbStrUnlocktmp(str VALUE) VALUE
- func RbString(val VALUE) VALUE
- func RbStringValue(ptr *VALUE) VALUE
- func RbStructAlloc(klass VALUE, values VALUE) VALUE
- func RbStructAllocNoinit(klass VALUE) VALUE
- func RbStructAref(st VALUE, k VALUE) VALUE
- func RbStructAset(st VALUE, k VALUE, v VALUE) VALUE
- func RbStructGetmember(self VALUE, key ID) VALUE
- func RbStructInitialize(self VALUE, values VALUE) VALUE
- func RbStructMembers(self VALUE) VALUE
- func RbStructSMembers(klass VALUE) VALUE
- func RbStructSize(st VALUE) VALUE
- func RbSym2Str(id VALUE) VALUE
- func RbSymAllSymbols() VALUE
- func RbSymToS(sym VALUE) VALUE
- func RbSyserrNew(err int, msg string) VALUE
- func RbSyserrNewStr(n int, arg VALUE) VALUE
- func RbThreadCreate(arg1 unsafe.Pointer, g unsafe.Pointer) VALUE
- func RbThreadCurrent() VALUE
- func RbThreadKill(thread VALUE) VALUE
- func RbThreadLocalAref(thread VALUE, key ID) VALUE
- func RbThreadLocalAset(thread VALUE, key ID, val VALUE) VALUE
- func RbThreadMain() VALUE
- func RbThreadRun(thread VALUE) VALUE
- func RbThreadStop() VALUE
- func RbThreadWakeup(thread VALUE) VALUE
- func RbThreadWakeupAlive(thread VALUE) VALUE
- func RbTimeNanoNew(sec TimeT, nsec Long) VALUE
- func RbTimeNew(sec TimeT, usec Long) VALUE
- func RbTimeNumNew(timev VALUE, off VALUE) VALUE
- func RbTimeTimespecNew(ts *Timespec, offset int) VALUE
- func RbTimeUtcOffset(time VALUE) VALUE
- func RbToFloat(val VALUE) VALUE
- func RbToInt(val VALUE) VALUE
- func RbToSymbol(name VALUE) VALUE
- func RbUint2Big(i UintptrT) VALUE
- func RbUint2Inum(i UintptrT) VALUE
- func RbUint2NumInline(v uint) VALUE
- func RbUll2Inum(num Ulonglong) VALUE
- func RbUll2NumInline(n Ulonglong) VALUE
- func RbUlong2NumInline(v uint) VALUE
- func RbUndefineFinalizer(obj VALUE) VALUE
- func RbUsasciiStrNew(ptr string, len Long) VALUE
- func RbUsasciiStrNewCstr(ptr string) VALUE
- func RbUsasciiStrNewStatic(ptr string, len Long) VALUE
- func RbUtf8StrNew(ptr string, len Long) VALUE
- func RbUtf8StrNewCstr(ptr string) VALUE
- func RbUtf8StrNewStatic(ptr string, len Long) VALUE
- func RbYield(val VALUE) VALUE
- func RbYieldBlock(yielded_arg VALUE, callback_arg VALUE, argc int, argv *VALUE, blockarg VALUE) VALUE
- func RbYieldSplat(ary VALUE) VALUE
- func RbYieldSplatKw(ary VALUE, kw_splat int) VALUE
- func RbYieldValues2(n int, argv *VALUE) VALUE
- func RbYieldValuesKw(n int, argv *VALUE, kw_splat int) VALUE
- func Slice2rbAry(slice []VALUE) VALUE
- func String2Value(str string) VALUE
- type VaList
- type Void
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Char2String ¶
Char2String convert from *Char to Go string without copy
func RB_FIX2INT ¶
RB_FIX2INT calls `RB_FIX2INT` in C
Original definition is following
RB_FIX2INT(VALUE x)
func RB_FIX2UINT ¶
RB_FIX2UINT calls `RB_FIX2UINT` in C
Original definition is following
RB_FIX2UINT(VALUE x)
func RB_FL_REVERSE ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
RSTRING_END calls `RSTRING_END` in C
Original definition is following
RSTRING_END(VALUE str)
func RSTRING_LENINT ¶
RSTRING_LENINT calls `RSTRING_LENINT` in C
Original definition is following
RSTRING_LENINT(VALUE str)
func RbAbsintSinglebitP ¶
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 ¶
RbAlias calls `rb_alias` in C
Original definition is following
void rb_alias(VALUE klass, ID dst, ID src)
func RbAliasVariable ¶
RbAliasVariable calls `rb_alias_variable` in C
Original definition is following
void rb_alias_variable(ID dst, ID src)
func RbAllocTmpBuffer ¶
RbAllocTmpBuffer calls `rb_alloc_tmp_buffer` in C
Original definition is following
void *rb_alloc_tmp_buffer(volatile VALUE *store, long len)
func RbAllocTmpBuffer2 ¶
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 ¶
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 ¶
RbAryStore calls `rb_ary_store` in C
Original definition is following
void rb_ary_store(VALUE ary, long key, VALUE val)
func RbAssertFailure ¶
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 ¶
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 ¶
RbBig2Ulong calls `rb_big2ulong` in C
Original definition is following
unsigned long rb_big2ulong(VALUE x)
func RbBigPack ¶
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 ¶
RbBigResize calls `rb_big_resize` in C
Original definition is following
void rb_big_resize(VALUE big, size_t len)
func RbBigSign ¶
RbBigSign calls `rb_big_sign` in C
Original definition is following
int rb_big_sign(VALUE num)
func RbBigzeroP ¶
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 ¶
RbBugErrno calls `rb_bug_errno` in C
Original definition is following
void rb_bug_errno(const char *msg, int err)
func RbCheckArity ¶
RbCheckArity calls `rb_check_arity` in C
Original definition is following
rb_check_arity(int argc, int min, int max)
func RbCheckCopyable ¶
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 ¶
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 ¶
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 ¶
RbCloexecDup calls `rb_cloexec_dup` in C
Original definition is following
int rb_cloexec_dup(int oldfd)
func RbCloexecDup2 ¶
RbCloexecDup2 calls `rb_cloexec_dup2` in C
Original definition is following
int rb_cloexec_dup2(int oldfd, int newfd)
func RbCloexecFcntlDupfd ¶
RbCloexecFcntlDupfd calls `rb_cloexec_fcntl_dupfd` in C
Original definition is following
int rb_cloexec_fcntl_dupfd(int fd, int minfd)
func RbCloexecOpen ¶
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 ¶
RbCloexecPipe calls `rb_cloexec_pipe` in C
Original definition is following
int rb_cloexec_pipe(int fildes[2])
func RbCloseBeforeExec ¶
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 ¶
RbCmperr calls `rb_cmperr` in C
Original definition is following
void rb_cmperr(VALUE a, VALUE b)
func RbCmpint ¶
RbCmpint calls `rb_cmpint` in C
Original definition is following
int rb_cmpint(VALUE val, VALUE a, VALUE b)
func RbConstDefined ¶
RbConstDefined calls `rb_const_defined` in C
Original definition is following
int rb_const_defined(VALUE space, ID name)
func RbConstDefinedAt ¶
RbConstDefinedAt calls `rb_const_defined_at` in C
Original definition is following
int rb_const_defined_at(VALUE space, ID name)
func RbConstDefinedFrom ¶
RbConstDefinedFrom calls `rb_const_defined_from` in C
Original definition is following
int rb_const_defined_from(VALUE space, ID name)
func RbConstSet ¶
RbConstSet calls `rb_const_set` in C
Original definition is following
void rb_const_set(VALUE space, ID name, VALUE val)
func RbCopyGenericIvar ¶
RbCopyGenericIvar calls `rb_copy_generic_ivar` in C
Original definition is following
void rb_copy_generic_ivar(VALUE clone, VALUE obj)
func RbCvSet ¶
RbCvSet calls `rb_cv_set` in C
Original definition is following
void rb_cv_set(VALUE klass, const char *name, VALUE val)
func RbCvarSet ¶
RbCvarSet calls `rb_cvar_set` in C
Original definition is following
void rb_cvar_set(VALUE klass, ID name, VALUE val)
func RbDataObjectGet ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbDefineClassVariable calls `rb_define_class_variable` in C
Original definition is following
void rb_define_class_variable(VALUE, const char*, VALUE)
func RbDefineConst ¶
RbDefineConst calls `rb_define_const` in C
Original definition is following
void rb_define_const(VALUE klass, const char *name, VALUE val)
func RbDefineGlobalConst ¶
RbDefineGlobalConst calls `rb_define_global_const` in C
Original definition is following
void rb_define_global_const(const char *name, VALUE val)
func RbDefineGlobalFunction ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbExtendObject calls `rb_extend_object` in C
Original definition is following
void rb_extend_object(VALUE obj, VALUE mod)
func RbFdClr ¶
RbFdClr calls `rb_fd_clr` in C
Original definition is following
void rb_fd_clr(int fd, rb_fdset_t *f)
func RbFdCopy ¶
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 ¶
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 ¶
RbFdIsset calls `rb_fd_isset` in C
Original definition is following
int rb_fd_isset(int fd, const rb_fdset_t *f)
func RbFdMax ¶
RbFdMax calls `rb_fd_max` in C
Original definition is following
rb_fd_max(const rb_fdset_t *f)
func RbFdSelect ¶
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 ¶
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 ¶
RbFeatureProvided calls `rb_feature_provided` in C
Original definition is following
int rb_feature_provided(const char *feature, const char **loading)
func RbFindFileExt ¶
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 ¶
RbFix2Uint calls `rb_fix2uint` in C
Original definition is following
unsigned long rb_fix2uint(VALUE num)
func RbFix2Ulong ¶
RbFix2Ulong calls `rb_fix2ulong` in C
Original definition is following
rb_fix2ulong(VALUE x)
func RbFrameMethodIdAndClass ¶
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 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 ¶
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 ¶
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 ¶
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 ¶
RbGenrandUlongLimited calls `rb_genrand_ulong_limited` in C
Original definition is following
unsigned long rb_genrand_ulong_limited(unsigned long i)
func RbGetAllocFunc ¶
RbGetAllocFunc calls `rb_get_alloc_func` in C
Original definition is following
rb_alloc_func_t rb_get_alloc_func(VALUE klass)
func RbGetKwargs ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbId2Name calls `rb_id2name` in C
Original definition is following
const char *rb_id2name(ID id)
func RbIncludeModule ¶
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 ¶
RbInvalidStr calls `rb_invalid_str` in C
Original definition is following
void rb_invalid_str(const char *str, const char *type)
func RbIsAbsolutePath ¶
RbIsAbsolutePath calls `rb_is_absolute_path` in C
Original definition is following
int rb_is_absolute_path(const char *path)
func RbIsAttrsetId ¶
RbIsAttrsetId calls `rb_is_attrset_id` in C
Original definition is following
int rb_is_attrset_id(ID id)
func RbIsClassId ¶
RbIsClassId calls `rb_is_class_id` in C
Original definition is following
int rb_is_class_id(ID id)
func RbIsConstId ¶
RbIsConstId calls `rb_is_const_id` in C
Original definition is following
int rb_is_const_id(ID id)
func RbIsGlobalId ¶
RbIsGlobalId calls `rb_is_global_id` in C
Original definition is following
int rb_is_global_id(ID id)
func RbIsInstanceId ¶
RbIsInstanceId calls `rb_is_instance_id` in C
Original definition is following
int rb_is_instance_id(ID id)
func RbIsJunkId ¶
RbIsJunkId calls `rb_is_junk_id` in C
Original definition is following
int rb_is_junk_id(ID)
func RbIsLocalId ¶
RbIsLocalId calls `rb_is_local_id` in C
Original definition is following
int rb_is_local_id(ID id)
func RbIsalnum ¶
RbIsalnum calls `rb_isalnum` in C
Original definition is following
rb_isalnum(int c)
func RbIsalpha ¶
RbIsalpha calls `rb_isalpha` in C
Original definition is following
rb_isalpha(int c)
func RbIsascii ¶
RbIsascii calls `rb_isascii` in C
Original definition is following
rb_isascii(int c)
func RbIsblank ¶
RbIsblank calls `rb_isblank` in C
Original definition is following
rb_isblank(int c)
func RbIscntrl ¶
RbIscntrl calls `rb_iscntrl` in C
Original definition is following
rb_iscntrl(int c)
func RbIsdigit ¶
RbIsdigit calls `rb_isdigit` in C
Original definition is following
rb_isdigit(int c)
func RbIsgraph ¶
RbIsgraph calls `rb_isgraph` in C
Original definition is following
rb_isgraph(int c)
func RbIslower ¶
RbIslower calls `rb_islower` in C
Original definition is following
rb_islower(int c)
func RbIsprint ¶
RbIsprint calls `rb_isprint` in C
Original definition is following
rb_isprint(int c)
func RbIspunct ¶
RbIspunct calls `rb_ispunct` in C
Original definition is following
rb_ispunct(int c)
func RbIsspace ¶
RbIsspace calls `rb_isspace` in C
Original definition is following
rb_isspace(int c)
func RbIsupper ¶
RbIsupper calls `rb_isupper` in C
Original definition is following
rb_isupper(int c)
func RbIsxdigit ¶
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 ¶
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 ¶
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 ¶
RbLoad calls `rb_load` in C
Original definition is following
void rb_load(VALUE path, int wrap)
func RbLoadFile ¶
RbLoadFile calls `rb_load_file` in C
Original definition is following
void *rb_load_file(const char *file)
func RbLoadFileStr ¶
RbLoadFileStr calls `rb_load_file_str` in C
Original definition is following
void *rb_load_file_str(VALUE file)
func RbLoadProtect ¶
RbLoadProtect calls `rb_load_protect` in C
Original definition is following
void rb_load_protect(VALUE path, int wrap, int *state)
func RbLong2IntInline ¶
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 ¶
RbMemClear calls `rb_mem_clear` in C
Original definition is following
void rb_mem_clear(VALUE *buf, long len)
func RbMemcicmp ¶
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 ¶
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 ¶
RbMethodBoundp calls `rb_method_boundp` in C
Original definition is following
int rb_method_boundp(VALUE klass, ID id, int ex)
func RbModConstAt ¶
RbModConstAt calls `rb_mod_const_at` in C
Original definition is following
void *rb_mod_const_at(VALUE, void*)
func RbModConstOf ¶
RbModConstOf calls `rb_mod_const_of` in C
Original definition is following
void *rb_mod_const_of(VALUE, void*)
func RbModMethodArity ¶
RbModMethodArity calls `rb_mod_method_arity` in C
Original definition is following
int rb_mod_method_arity(VALUE mod, ID mid)
func RbModSysFail ¶
RbModSysFail calls `rb_mod_sys_fail` in C
Original definition is following
void rb_mod_sys_fail(VALUE mod, const char *msg)
func RbModSysFailStr ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbNum2IntInline calls `rb_num2int_inline` in C
Original definition is following
rb_num2int_inline(VALUE x)
func RbNum2Uint ¶
RbNum2Uint calls `rb_num2uint` in C
Original definition is following
unsigned long rb_num2uint(VALUE num)
func RbNum2Ulong ¶
RbNum2Ulong calls `rb_num2ulong` in C
Original definition is following
unsigned long rb_num2ulong(VALUE num)
func RbNum2UlongInline ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbObjMethodArity calls `rb_obj_method_arity` in C
Original definition is following
int rb_obj_method_arity(VALUE obj, ID mid)
func RbObjRespondTo ¶
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 ¶
RbPathCheck calls `rb_path_check` in C
Original definition is following
int rb_path_check(const char *path)
func RbPrependModule ¶
RbPrependModule calls `rb_prepend_module` in C
Original definition is following
void rb_prepend_module(VALUE klass, VALUE module)
func RbProcArity ¶
RbProcArity calls `rb_proc_arity` in C
Original definition is following
int rb_proc_arity(VALUE recv)
func RbProcExec ¶
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 ¶
RbProvided calls `rb_provided` in C
Original definition is following
int rb_provided(const char *feature)
func RbRaise ¶
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 ¶
RbRandomInt32 calls `rb_random_int32` in C
Original definition is following
unsigned int rb_random_int32(VALUE rnd)
func RbRandomUlongLimited ¶
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 ¶
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 ¶
RbRegBackrefNumber calls `rb_reg_backref_number` in C
Original definition is following
int rb_reg_backref_number(VALUE match, VALUE backref)
func RbRegOptions ¶
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 ¶
RbRemoveMethod calls `rb_remove_method` in C
Original definition is following
void rb_remove_method(VALUE klass, const char *name)
func RbRemoveMethodId ¶
RbRemoveMethodId calls `rb_remove_method_id` in C
Original definition is following
void rb_remove_method_id(VALUE klass, ID mid)
func RbReservedFdP ¶
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 ¶
RbRespondTo calls `rb_respond_to` in C
Original definition is following
int rb_respond_to(VALUE obj, ID mid)
func RbScanArgsBlockIdx ¶
RbScanArgsBlockIdx calls `rb_scan_args_block_idx` in C
Original definition is following
rb_scan_args_block_idx(const char *fmt)
func RbScanArgsHashIdx ¶
RbScanArgsHashIdx calls `rb_scan_args_hash_idx` in C
Original definition is following
rb_scan_args_hash_idx(const char *fmt)
func RbScanArgsNLead ¶
RbScanArgsNLead calls `rb_scan_args_n_lead` in C
Original definition is following
rb_scan_args_n_lead(const char *fmt)
func RbScanArgsNOpt ¶
RbScanArgsNOpt calls `rb_scan_args_n_opt` in C
Original definition is following
rb_scan_args_n_opt(const char *fmt)
func RbScanArgsNTrail ¶
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 ¶
RbScanArgsTrailIdx calls `rb_scan_args_trail_idx` in C
Original definition is following
rb_scan_args_trail_idx(const char *fmt)
func RbScanArgsVarIdx ¶
RbScanArgsVarIdx calls `rb_scan_args_var_idx` in C
Original definition is following
rb_scan_args_var_idx(const char *fmt)
func RbSetClassPath ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbStrCmp calls `rb_str_cmp` in C
Original definition is following
int rb_str_cmp(VALUE lhs, VALUE rhs)
func RbStrComparable ¶
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 ¶
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 ¶
RbStrModifyExpand calls `rb_str_modify_expand` in C
Original definition is following
void rb_str_modify_expand(VALUE str, long capa)
func RbStrSetLen ¶
RbStrSetLen calls `rb_str_set_len` in C
Original definition is following
void rb_str_set_len(VALUE str, long len)
func RbStrSharedReplace ¶
RbStrSharedReplace calls `rb_str_shared_replace` in C
Original definition is following
void rb_str_shared_replace(VALUE dst, VALUE src)
func RbStrSubpos ¶
RbStrSubpos calls `rb_str_subpos` in C
Original definition is following
char *rb_str_subpos(VALUE str, long beg, long *len)
func RbStrUpdate ¶
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 ¶
RbStringValueCstr calls `rb_string_value_cstr` in C
Original definition is following
char *rb_string_value_cstr(volatile VALUE *ptr)
func RbStringValuePtr ¶
RbStringValuePtr calls `rb_string_value_ptr` in C
Original definition is following
char *rb_string_value_ptr(volatile VALUE *ptr)
func RbSymnameP ¶
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 ¶
RbSyserrFail calls `rb_syserr_fail` in C
Original definition is following
void rb_syserr_fail(int err, const char *msg)
func RbSyserrFailStr ¶
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 ¶
RbThreadFdWritable calls `rb_thread_fd_writable` in C
Original definition is following
int rb_thread_fd_writable(int fd)
func RbThreadInterrupted ¶
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 ¶
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 ¶
RbThrow calls `rb_throw` in C
Original definition is following
void rb_throw(const char *tag, VALUE val)
func RbThrowObj ¶
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 ¶
RbTolower calls `rb_tolower` in C
Original definition is following
rb_tolower(int c)
func RbToupper ¶
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 ¶
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 ¶
RbUndefMethod calls `rb_undef_method` in C
Original definition is following
void rb_undef_method(VALUE klass, const char *name)
func RbUnexpectedType ¶
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 ¶
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 ¶
RbWriteError2 calls `rb_write_error2` in C
Original definition is following
void rb_write_error2(const char *str, long len)
func Value2String ¶
Value2String convert from VALUE to Go string
Types ¶
type Bool ¶
Bool is a type for passing `C.bool` in and out of package
func RB_DYNAMIC_SYM_P ¶
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 ¶
RB_FIXNUM_P calls `RB_FIXNUM_P` in C
Original definition is following
RB_FIXNUM_P(VALUE obj)
func RB_FLOAT_TYPE_P ¶
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 ¶
RB_FLONUM_P calls `RB_FLONUM_P` in C
Original definition is following
RB_FLONUM_P(VALUE obj)
func RB_FL_ABLE ¶
RB_FL_ABLE calls `RB_FL_ABLE` in C
Original definition is following
RB_FL_ABLE(VALUE obj)
func RB_FL_ALL ¶
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 ¶
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 ¶
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 ¶
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 ¶
RB_IMMEDIATE_P calls `RB_IMMEDIATE_P` in C
Original definition is following
RB_IMMEDIATE_P(VALUE obj)
func RB_NIL_OR_UNDEF_P ¶
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_OBJ_FROZEN ¶
RB_OBJ_FROZEN calls `RB_OBJ_FROZEN` in C
Original definition is following
RB_OBJ_FROZEN(VALUE obj)
func RB_OBJ_PROMOTED ¶
RB_OBJ_PROMOTED calls `RB_OBJ_PROMOTED` in C
Original definition is following
RB_OBJ_PROMOTED(VALUE obj)
func RB_OBJ_PROMOTED_RAW ¶
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 ¶
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 ¶
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 ¶
RB_SYMBOL_P calls `RB_SYMBOL_P` in C
Original definition is following
RB_SYMBOL_P(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 ¶
RB_UNDEF_P calls `RB_UNDEF_P` in C
Original definition is following
RB_UNDEF_P(VALUE obj)
func RbIntegerTypeP ¶
RbIntegerTypeP calls `rb_integer_type_p` in C
Original definition is following
rb_integer_type_p(VALUE obj)
func RbScanArgsFBlock ¶
RbScanArgsFBlock calls `rb_scan_args_f_block` in C
Original definition is following
rb_scan_args_f_block(const char *fmt)
func RbScanArgsFHash ¶
RbScanArgsFHash calls `rb_scan_args_f_hash` in C
Original definition is following
rb_scan_args_f_hash(const char *fmt)
func RbScanArgsFVar ¶
RbScanArgsFVar calls `rb_scan_args_f_var` in C
Original definition is following
rb_scan_args_f_var(const char *fmt)
func RbScanArgsKeywordP ¶
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 ¶
RbScanArgsLeadP calls `rb_scan_args_lead_p` in C
Original definition is following
rb_scan_args_lead_p(const char *fmt)
func RbScanArgsOptP ¶
RbScanArgsOptP calls `rb_scan_args_opt_p` in C
Original definition is following
rb_scan_args_opt_p(const char *fmt)
type Char ¶
Char is a type for passing `C.char` in and out of package
func RSTRING_PTR ¶
RSTRING_PTR calls `RSTRING_PTR` in C
Original definition is following
RSTRING_PTR(VALUE str)
func RbNum2CharInline ¶
RbNum2CharInline calls `rb_num2char_inline` in C
Original definition is following
rb_num2char_inline(VALUE x)
func String2Char ¶
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 ¶
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 ¶
Double is a type for passing `C.double` in and out of package
func RbBig2Dbl ¶
RbBig2Dbl calls `rb_big2dbl` in C
Original definition is following
double rb_big2dbl(VALUE x)
func RbCstrToDbl ¶
RbCstrToDbl calls `rb_cstr_to_dbl` in C
Original definition is following
double rb_cstr_to_dbl(const char *str, int mode)
func RbFloatValue ¶
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 ¶
RbNum2Dbl calls `rb_num2dbl` in C
Original definition is following
double rb_num2dbl(VALUE num)
func RbRandomReal ¶
RbRandomReal calls `rb_random_real` in C
Original definition is following
double rb_random_real(VALUE rnd)
func RbStrToDbl ¶
RbStrToDbl calls `rb_str_to_dbl` in C
Original definition is following
double rb_str_to_dbl(VALUE str, int mode)
type ID ¶
ID is a type for passing `C.ID` in and out of package
func RbCheckId ¶
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 ¶
RbIdAttrset calls `rb_id_attrset` in C
Original definition is following
ID rb_id_attrset(ID id)
func RbIntern ¶
RbIntern calls `rb_intern` in C
Original definition is following
ID rb_intern(const char *name)
func RbIntern2 ¶
RbIntern2 calls `rb_intern2` in C
Original definition is following
ID rb_intern2(const char *name, long len)
func RbInternConst ¶
RbInternConst calls `rb_intern_const` in C
Original definition is following
rb_intern_const(const char *str)
func RbInternStr ¶
RbInternStr calls `rb_intern_str` in C
Original definition is following
ID rb_intern_str(VALUE str)
type 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 Long ¶
Long is a type for passing `C.long` in and out of package
func RSTRING_LEN ¶
RSTRING_LEN calls `RSTRING_LEN` in C
Original definition is following
RSTRING_LEN(VALUE str)
func RbArrayLen ¶
RbArrayLen calls `rb_array_len` in C
Original definition is following
rb_array_len(VALUE a)
func RbBig2Long ¶
RbBig2Long calls `rb_big2long` in C
Original definition is following
long rb_big2long(VALUE x)
func RbFix2Int ¶
RbFix2Int calls `rb_fix2int` in C
Original definition is following
long rb_fix2int(VALUE num)
func RbFix2Long ¶
RbFix2Long calls `rb_fix2long` in C
Original definition is following
rb_fix2long(VALUE x)
func RbNum2Int ¶
RbNum2Int calls `rb_num2int` in C
Original definition is following
long rb_num2int(VALUE num)
func RbNum2Long ¶
RbNum2Long calls `rb_num2long` in C
Original definition is following
long rb_num2long(VALUE num)
func RbNum2LongInline ¶
RbNum2LongInline calls `rb_num2long_inline` in C
Original definition is following
rb_num2long_inline(VALUE x)
func RbStrOffset ¶
RbStrOffset calls `rb_str_offset` in C
Original definition is following
long rb_str_offset(VALUE str, long pos)
func RbStrStrlen ¶
RbStrStrlen calls `rb_str_strlen` in C
Original definition is following
long rb_str_strlen(VALUE str)
func RbStrSublen ¶
RbStrSublen calls `rb_str_sublen` in C
Original definition is following
long rb_str_sublen(VALUE str, long pos)
type Longlong ¶
Longlong is a type for passing `C.longlong` in and out of package
func RbNum2Ll ¶
RbNum2Ll calls `rb_num2ll` in C
Original definition is following
rb_num2ll(VALUE num)
func RbNum2LlInline ¶
RbNum2LlInline calls `rb_num2ll_inline` in C
Original definition is following
rb_num2ll_inline(VALUE x)
type OffT ¶
OffT is a type for passing `C.off_t` in and out of package
func RbFileSize ¶
RbFileSize calls `rb_file_size` in C
Original definition is following
off_t rb_file_size(VALUE file)
type PidT ¶
PidT is a type for passing `C.pid_t` in and out of package
func RbSpawn ¶
RbSpawn calls `rb_spawn` in C
Original definition is following
pid_t rb_spawn(int argc, const VALUE *argv)
func RbSpawnErr ¶
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)
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 ¶
Short is a type for passing `C.short` in and out of package
func RbFix2Short ¶
RbFix2Short calls `rb_fix2short` in C
Original definition is following
short rb_fix2short(VALUE num)
func RbNum2Short ¶
RbNum2Short calls `rb_num2short` in C
Original definition is following
short rb_num2short(VALUE num)
func RbNum2ShortInline ¶
RbNum2ShortInline calls `rb_num2short_inline` in C
Original definition is following
rb_num2short_inline(VALUE x)
type SizeT ¶
SizeT is a type for passing `C.size_t` in and out of package
func RbAbsintNumwords ¶
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 ¶
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 ¶
RbGcStat calls `rb_gc_stat` in C
Original definition is following
size_t rb_gc_stat(VALUE key_or_buf)
func RbHashSizeNum ¶
RbHashSizeNum calls `rb_hash_size_num` in C
Original definition is following
size_t rb_hash_size_num(VALUE hash)
func RbStMemsize ¶
RbStMemsize calls `rb_st_memsize` in C
Original definition is following
__attribute__((__pure__)) size_t rb_st_memsize(const st_table *)
func RbStTableSize ¶
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 ¶
RbStrCapacity calls `rb_str_capacity` in C
Original definition is following
size_t rb_str_capacity(VALUE str)
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 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 StIndexT ¶
type StIndexT C.st_index_t
StIndexT is a type for passing `C.st_index_t` in and out of package
func RbHashStart ¶
RbHashStart calls `rb_hash_start` in C
Original definition is following
st_index_t rb_hash_start(st_index_t i)
func RbIvarCount ¶
RbIvarCount calls `rb_ivar_count` in C
Original definition is following
st_index_t rb_ivar_count(VALUE obj)
func RbMemhash ¶
RbMemhash calls `rb_memhash` in C
Original definition is following
st_index_t rb_memhash(const void *ptr, long len)
func RbStHash ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbStNumhash calls `rb_st_numhash` in C
Original definition is following
__attribute__((__const__)) st_index_t rb_st_numhash(st_data_t)
func RbStValues ¶
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 ¶
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)
type StTable ¶
StTable is a type for passing `C.st_table` in and out of package
func RbHashTbl ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Timespec ¶
type Timespec StructTimespec
Timespec is alias to StructTimespec
func RbTimeTimespec ¶
RbTimeTimespec calls `rb_time_timespec` in C
Original definition is following
struct timespec rb_time_timespec(VALUE time)
func RbTimeTimespecInterval ¶
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 ¶
RbTimeInterval calls `rb_time_interval` in C
Original definition is following
struct timeval rb_time_interval(VALUE num)
func RbTimeTimeval ¶
RbTimeTimeval calls `rb_time_timeval` in C
Original definition is following
struct timeval rb_time_timeval(VALUE time)
type Ulonglong ¶
Ulonglong is a type for passing `C.ulonglong` in and out of package
func RbBig2Ull ¶
RbBig2Ull calls `rb_big2ull` in C
Original definition is following
rb_big2ull(VALUE)
func RbNum2Ull ¶
RbNum2Ull calls `rb_num2ull` in C
Original definition is following
rb_num2ull(VALUE num)
func RbNum2UllInline ¶
RbNum2UllInline calls `rb_num2ull_inline` in C
Original definition is following
rb_num2ull_inline(VALUE x)
type Ushort ¶
Ushort is a type for passing `C.ushort` in and out of package
func RbFix2Ushort ¶
RbFix2Ushort calls `rb_fix2ushort` in C
Original definition is following
unsigned short rb_fix2ushort(VALUE num)
func RbNum2Ushort ¶
RbNum2Ushort calls `rb_num2ushort` in C
Original definition is following
unsigned short rb_num2ushort(VALUE num)
type VALUE ¶
VALUE is a type for passing `C.VALUE` in and out of package
func CallFunction ¶
CallFunction calls receiver's method. (wrapper for RbFuncallv)
func NewGoStruct ¶
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 RB_CHR2FIX ¶
RB_CHR2FIX calls `RB_CHR2FIX` in C
Original definition is following
RB_CHR2FIX(unsigned char c)
func RB_FL_TEST ¶
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 ¶
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 ¶
RB_INT2FIX calls `RB_INT2FIX` in C
Original definition is following
RB_INT2FIX(long i)
func RB_OBJ_FROZEN_RAW ¶
RB_OBJ_FROZEN_RAW calls `RB_OBJ_FROZEN_RAW` in C
Original definition is following
RB_OBJ_FROZEN_RAW(VALUE obj)
func RB_ST2FIX ¶
RB_ST2FIX calls `RB_ST2FIX` in C
Original definition is following
RB_ST2FIX(st_data_t i)
func RbAnyToS ¶
RbAnyToS calls `rb_any_to_s` in C
Original definition is following
VALUE rb_any_to_s(VALUE obj)
func RbApply ¶
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 ¶
RbArray calls `rb_Array` in C
Original definition is following
VALUE rb_Array(VALUE val)
func RbArrayConstPtr ¶
RbArrayConstPtr calls `rb_array_const_ptr` in C
Original definition is following
rb_array_const_ptr(VALUE a)
func RbAryAref ¶
RbAryAref calls `rb_ary_aref` in C
Original definition is following
VALUE rb_ary_aref(int argc, const VALUE *argv, VALUE ary)
func RbAryAssoc ¶
RbAryAssoc calls `rb_ary_assoc` in C
Original definition is following
VALUE rb_ary_assoc(VALUE alist, VALUE key)
func RbAryCat ¶
RbAryCat calls `rb_ary_cat` in C
Original definition is following
VALUE rb_ary_cat(VALUE ary, const VALUE *train, long len)
func RbAryClear ¶
RbAryClear calls `rb_ary_clear` in C
Original definition is following
VALUE rb_ary_clear(VALUE ary)
func RbAryCmp ¶
RbAryCmp calls `rb_ary_cmp` in C
Original definition is following
VALUE rb_ary_cmp(VALUE lhs, VALUE rhs)
func RbAryConcat ¶
RbAryConcat calls `rb_ary_concat` in C
Original definition is following
VALUE rb_ary_concat(VALUE lhs, VALUE rhs)
func RbAryDelete ¶
RbAryDelete calls `rb_ary_delete` in C
Original definition is following
VALUE rb_ary_delete(VALUE ary, VALUE elem)
func RbAryDeleteAt ¶
RbAryDeleteAt calls `rb_ary_delete_at` in C
Original definition is following
VALUE rb_ary_delete_at(VALUE ary, long pos)
func RbAryDup ¶
RbAryDup calls `rb_ary_dup` in C
Original definition is following
VALUE rb_ary_dup(VALUE ary)
func RbAryEach ¶
RbAryEach calls `rb_ary_each` in C
Original definition is following
VALUE rb_ary_each(VALUE ary)
func RbAryEntry ¶
RbAryEntry calls `rb_ary_entry` in C
Original definition is following
VALUE rb_ary_entry(VALUE ary, long off)
func RbAryFreeze ¶
RbAryFreeze calls `rb_ary_freeze` in C
Original definition is following
VALUE rb_ary_freeze(VALUE obj)
func RbAryHiddenNew ¶
RbAryHiddenNew calls `rb_ary_hidden_new` in C
Original definition is following
VALUE rb_ary_hidden_new(long capa)
func RbAryIncludes ¶
RbAryIncludes calls `rb_ary_includes` in C
Original definition is following
VALUE rb_ary_includes(VALUE ary, VALUE elem)
func RbAryJoin ¶
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 RbAryNewCapa ¶
RbAryNewCapa calls `rb_ary_new_capa` in C
Original definition is following
VALUE rb_ary_new_capa(long capa)
func RbAryNewFromValues ¶
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 ¶
RbAryPlus calls `rb_ary_plus` in C
Original definition is following
VALUE rb_ary_plus(VALUE lhs, VALUE rhs)
func RbAryPop ¶
RbAryPop calls `rb_ary_pop` in C
Original definition is following
VALUE rb_ary_pop(VALUE ary)
func RbAryPtrUseStart ¶
RbAryPtrUseStart calls `rb_ary_ptr_use_start` in C
Original definition is following
VALUE *rb_ary_ptr_use_start(VALUE ary)
func RbAryPush ¶
RbAryPush calls `rb_ary_push` in C
Original definition is following
VALUE rb_ary_push(VALUE ary, VALUE elem)
func RbAryRassoc ¶
RbAryRassoc calls `rb_ary_rassoc` in C
Original definition is following
VALUE rb_ary_rassoc(VALUE alist, VALUE key)
func RbAryReplace ¶
RbAryReplace calls `rb_ary_replace` in C
Original definition is following
VALUE rb_ary_replace(VALUE copy, VALUE orig)
func RbAryResize ¶
RbAryResize calls `rb_ary_resize` in C
Original definition is following
VALUE rb_ary_resize(VALUE ary, long len)
func RbAryResurrect ¶
RbAryResurrect calls `rb_ary_resurrect` in C
Original definition is following
VALUE rb_ary_resurrect(VALUE ary)
func RbAryReverse ¶
RbAryReverse calls `rb_ary_reverse` in C
Original definition is following
VALUE rb_ary_reverse(VALUE ary)
func RbAryRotate ¶
RbAryRotate calls `rb_ary_rotate` in C
Original definition is following
VALUE rb_ary_rotate(VALUE ary, long rot)
func RbArySharedWithP ¶
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 ¶
RbAryShift calls `rb_ary_shift` in C
Original definition is following
VALUE rb_ary_shift(VALUE ary)
func RbArySort ¶
RbArySort calls `rb_ary_sort` in C
Original definition is following
VALUE rb_ary_sort(VALUE ary)
func RbArySortBang ¶
RbArySortBang calls `rb_ary_sort_bang` in C
Original definition is following
VALUE rb_ary_sort_bang(VALUE ary)
func RbArySubseq ¶
RbArySubseq calls `rb_ary_subseq` in C
Original definition is following
VALUE rb_ary_subseq(VALUE ary, long beg, long len)
func RbAryToAry ¶
RbAryToAry calls `rb_ary_to_ary` in C
Original definition is following
VALUE rb_ary_to_ary(VALUE obj)
func RbAryToS ¶
RbAryToS calls `rb_ary_to_s` in C
Original definition is following
VALUE rb_ary_to_s(VALUE ary)
func RbAryUnshift ¶
RbAryUnshift calls `rb_ary_unshift` in C
Original definition is following
VALUE rb_ary_unshift(VALUE ary, VALUE elem)
func RbAssocNew ¶
RbAssocNew calls `rb_assoc_new` in C
Original definition is following
VALUE rb_assoc_new(VALUE car, VALUE cdr)
func RbAttrGet ¶
RbAttrGet calls `rb_attr_get` in C
Original definition is following
VALUE rb_attr_get(VALUE obj, ID name)
func RbAutoloadLoad ¶
RbAutoloadLoad calls `rb_autoload_load` in C
Original definition is following
VALUE rb_autoload_load(VALUE space, ID name)
func RbAutoloadP ¶
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 ¶
RbBig2Str calls `rb_big2str` in C
Original definition is following
VALUE rb_big2str(VALUE x, int base)
func RbBigAnd ¶
RbBigAnd calls `rb_big_and` in C
Original definition is following
VALUE rb_big_and(VALUE x, VALUE y)
func RbBigClone ¶
RbBigClone calls `rb_big_clone` in C
Original definition is following
VALUE rb_big_clone(VALUE num)
func RbBigCmp ¶
RbBigCmp calls `rb_big_cmp` in C
Original definition is following
VALUE rb_big_cmp(VALUE lhs, VALUE rhs)
func RbBigDiv ¶
RbBigDiv calls `rb_big_div` in C
Original definition is following
VALUE rb_big_div(VALUE x, VALUE y)
func RbBigDivmod ¶
RbBigDivmod calls `rb_big_divmod` in C
Original definition is following
VALUE rb_big_divmod(VALUE x, VALUE y)
func RbBigEq ¶
RbBigEq calls `rb_big_eq` in C
Original definition is following
VALUE rb_big_eq(VALUE lhs, VALUE rhs)
func RbBigEql ¶
RbBigEql calls `rb_big_eql` in C
Original definition is following
VALUE rb_big_eql(VALUE lhs, VALUE rhs)
func RbBigIdiv ¶
RbBigIdiv calls `rb_big_idiv` in C
Original definition is following
VALUE rb_big_idiv(VALUE x, VALUE y)
func RbBigLshift ¶
RbBigLshift calls `rb_big_lshift` in C
Original definition is following
VALUE rb_big_lshift(VALUE x, VALUE y)
func RbBigMinus ¶
RbBigMinus calls `rb_big_minus` in C
Original definition is following
VALUE rb_big_minus(VALUE x, VALUE y)
func RbBigModulo ¶
RbBigModulo calls `rb_big_modulo` in C
Original definition is following
VALUE rb_big_modulo(VALUE x, VALUE y)
func RbBigMul ¶
RbBigMul calls `rb_big_mul` in C
Original definition is following
VALUE rb_big_mul(VALUE x, VALUE y)
func RbBigNew ¶
RbBigNew calls `rb_big_new` in C
Original definition is following
VALUE rb_big_new(size_t len, int sign)
func RbBigNorm ¶
RbBigNorm calls `rb_big_norm` in C
Original definition is following
VALUE rb_big_norm(VALUE x)
func RbBigOr ¶
RbBigOr calls `rb_big_or` in C
Original definition is following
VALUE rb_big_or(VALUE x, VALUE y)
func RbBigPlus ¶
RbBigPlus calls `rb_big_plus` in C
Original definition is following
VALUE rb_big_plus(VALUE x, VALUE y)
func RbBigPow ¶
RbBigPow calls `rb_big_pow` in C
Original definition is following
VALUE rb_big_pow(VALUE x, VALUE y)
func RbBigRshift ¶
RbBigRshift calls `rb_big_rshift` in C
Original definition is following
VALUE rb_big_rshift(VALUE x, VALUE y)
func RbBigUnpack ¶
RbBigUnpack calls `rb_big_unpack` in C
Original definition is following
VALUE rb_big_unpack(unsigned long *buf, long num_longs)
func RbBigXor ¶
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 ¶
RbCallSuper calls `rb_call_super` in C
Original definition is following
VALUE rb_call_super(int argc, const VALUE *argv)
func RbCallSuperKw ¶
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 ¶
RbCheckArrayType calls `rb_check_array_type` in C
Original definition is following
VALUE rb_check_array_type(VALUE obj)
func RbCheckConvertType ¶
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 ¶
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 ¶
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 ¶
RbCheckHashType calls `rb_check_hash_type` in C
Original definition is following
VALUE rb_check_hash_type(VALUE obj)
func RbCheckStringType ¶
RbCheckStringType calls `rb_check_string_type` in C
Original definition is following
VALUE rb_check_string_type(VALUE obj)
func RbCheckSymbol ¶
RbCheckSymbol calls `rb_check_symbol` in C
Original definition is following
VALUE rb_check_symbol(volatile VALUE *namep)
func RbCheckToFloat ¶
RbCheckToFloat calls `rb_check_to_float` in C
Original definition is following
VALUE rb_check_to_float(VALUE val)
func RbCheckToInt ¶
RbCheckToInt calls `rb_check_to_int` in C
Original definition is following
VALUE rb_check_to_int(VALUE val)
func RbCheckToInteger ¶
RbCheckToInteger calls `rb_check_to_integer` in C
Original definition is following
VALUE rb_check_to_integer(VALUE val, const char *mid)
func RbClassAttachedObject ¶
RbClassAttachedObject calls `rb_class_attached_object` in C
Original definition is following
VALUE rb_class_attached_object(VALUE klass)
func RbClassGetSuperclass ¶
RbClassGetSuperclass calls `rb_class_get_superclass` in C
Original definition is following
VALUE rb_class_get_superclass(VALUE klass)
func RbClassInheritedP ¶
RbClassInheritedP calls `rb_class_inherited_p` in C
Original definition is following
VALUE rb_class_inherited_p(VALUE scion, VALUE ascendant)
func RbClassInstanceMethods ¶
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 ¶
RbClassName calls `rb_class_name` in C
Original definition is following
VALUE rb_class_name(VALUE obj)
func RbClassNew ¶
RbClassNew calls `rb_class_new` in C
Original definition is following
VALUE rb_class_new(VALUE super)
func RbClassNewInstance ¶
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 ¶
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 ¶
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 ¶
RbClassOf calls `rb_class_of` in C
Original definition is following
rb_class_of(VALUE obj)
func RbClassPath ¶
RbClassPath calls `rb_class_path` in C
Original definition is following
VALUE rb_class_path(VALUE mod)
func RbClassPathCached ¶
RbClassPathCached calls `rb_class_path_cached` in C
Original definition is following
VALUE rb_class_path_cached(VALUE mod)
func RbClassPrivateInstanceMethods ¶
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 ¶
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 ¶
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 ¶
RbClassReal calls `rb_class_real` in C
Original definition is following
VALUE rb_class_real(VALUE klass)
func RbClassSubclasses ¶
RbClassSubclasses calls `rb_class_subclasses` in C
Original definition is following
VALUE rb_class_subclasses(VALUE klass)
func RbClassSuperclass ¶
RbClassSuperclass calls `rb_class_superclass` in C
Original definition is following
VALUE rb_class_superclass(VALUE klass)
func RbComplex ¶
RbComplex calls `rb_Complex` in C
Original definition is following
VALUE rb_Complex(VALUE real, VALUE imag)
func RbComplexAbs ¶
RbComplexAbs calls `rb_complex_abs` in C
Original definition is following
VALUE rb_complex_abs(VALUE z)
func RbComplexArg ¶
RbComplexArg calls `rb_complex_arg` in C
Original definition is following
VALUE rb_complex_arg(VALUE z)
func RbComplexConjugate ¶
RbComplexConjugate calls `rb_complex_conjugate` in C
Original definition is following
VALUE rb_complex_conjugate(VALUE z)
func RbComplexDiv ¶
RbComplexDiv calls `rb_complex_div` in C
Original definition is following
VALUE rb_complex_div(VALUE x, VALUE y)
func RbComplexImag ¶
RbComplexImag calls `rb_complex_imag` in C
Original definition is following
VALUE rb_complex_imag(VALUE z)
func RbComplexMinus ¶
RbComplexMinus calls `rb_complex_minus` in C
Original definition is following
VALUE rb_complex_minus(VALUE x, VALUE y)
func RbComplexMul ¶
RbComplexMul calls `rb_complex_mul` in C
Original definition is following
VALUE rb_complex_mul(VALUE x, VALUE y)
func RbComplexNew ¶
RbComplexNew calls `rb_complex_new` in C
Original definition is following
VALUE rb_complex_new(VALUE real, VALUE imag)
func RbComplexNewPolar ¶
RbComplexNewPolar calls `rb_complex_new_polar` in C
Original definition is following
VALUE rb_complex_new_polar(VALUE abs, VALUE arg)
func RbComplexPlus ¶
RbComplexPlus calls `rb_complex_plus` in C
Original definition is following
VALUE rb_complex_plus(VALUE x, VALUE y)
func RbComplexPow ¶
RbComplexPow calls `rb_complex_pow` in C
Original definition is following
VALUE rb_complex_pow(VALUE base, VALUE exp)
func RbComplexRaw ¶
RbComplexRaw calls `rb_complex_raw` in C
Original definition is following
VALUE rb_complex_raw(VALUE real, VALUE imag)
func RbComplexReal ¶
RbComplexReal calls `rb_complex_real` in C
Original definition is following
VALUE rb_complex_real(VALUE z)
func RbComplexUminus ¶
RbComplexUminus calls `rb_complex_uminus` in C
Original definition is following
VALUE rb_complex_uminus(VALUE z)
func RbConstGet ¶
RbConstGet calls `rb_const_get` in C
Original definition is following
VALUE rb_const_get(VALUE space, ID name)
func RbConstGetAt ¶
RbConstGetAt calls `rb_const_get_at` in C
Original definition is following
VALUE rb_const_get_at(VALUE space, ID name)
func RbConstGetFrom ¶
RbConstGetFrom calls `rb_const_get_from` in C
Original definition is following
VALUE rb_const_get_from(VALUE space, ID name)
func RbConstList ¶
RbConstList calls `rb_const_list` in C
Original definition is following
VALUE rb_const_list(void*)
func RbConstRemove ¶
RbConstRemove calls `rb_const_remove` in C
Original definition is following
VALUE rb_const_remove(VALUE space, ID name)
func RbConvertType ¶
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 ¶
RbCstr2Inum calls `rb_cstr2inum` in C
Original definition is following
VALUE rb_cstr2inum(const char *str, int base)
func RbCstrToInum ¶
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 ¶
RbCvGet calls `rb_cv_get` in C
Original definition is following
VALUE rb_cv_get(VALUE klass, const char *name)
func RbCvarDefined ¶
RbCvarDefined calls `rb_cvar_defined` in C
Original definition is following
VALUE rb_cvar_defined(VALUE klass, ID name)
func RbCvarFind ¶
RbCvarFind calls `rb_cvar_find` in C
Original definition is following
VALUE rb_cvar_find(VALUE klass, ID name, VALUE *front)
func RbCvarGet ¶
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 ¶
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 ¶
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 ¶
RbDbl2Big calls `rb_dbl2big` in C
Original definition is following
VALUE rb_dbl2big(double d)
func RbDblCmp ¶
RbDblCmp calls `rb_dbl_cmp` in C
Original definition is following
VALUE rb_dbl_cmp(double lhs, double rhs)
func RbDblComplexNew ¶
RbDblComplexNew calls `rb_dbl_complex_new` in C
Original definition is following
VALUE rb_dbl_complex_new(double real, double imag)
func RbDefineClass ¶
RbDefineClass calls `rb_define_class` in C
Original definition is following
VALUE rb_define_class(const char *name, VALUE super)
func RbDefineClassId ¶
RbDefineClassId calls `rb_define_class_id` in C
Original definition is following
VALUE rb_define_class_id(ID id, VALUE super)
func RbDefineClassIdUnder ¶
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 ¶
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 ¶
RbDefineFinalizer calls `rb_define_finalizer` in C
Original definition is following
VALUE rb_define_finalizer(VALUE obj, VALUE block)
func RbDefineModule ¶
RbDefineModule calls `rb_define_module` in C
Original definition is following
VALUE rb_define_module(const char *name)
func RbDefineModuleId ¶
RbDefineModuleId calls `rb_define_module_id` in C
Original definition is following
VALUE rb_define_module_id(ID id)
func RbDefineModuleIdUnder ¶
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 ¶
RbDefineModuleUnder calls `rb_define_module_under` in C
Original definition is following
VALUE rb_define_module_under(VALUE outer, const char *name)
func RbDetachProcess ¶
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 RbEnsure ¶
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 ¶
RbEnumValuesPack calls `rb_enum_values_pack` in C
Original definition is following
VALUE rb_enum_values_pack(int argc, const VALUE *argv)
func RbEnumeratorize ¶
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 ¶
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 ¶
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 ¶
RbEvalString calls `rb_eval_string` in C
Original definition is following
VALUE rb_eval_string(const char *str)
func RbEvalStringProtect ¶
RbEvalStringProtect calls `rb_eval_string_protect` in C
Original definition is following
VALUE rb_eval_string_protect(const char *str, int *state)
func RbEvalStringWrap ¶
RbEvalStringWrap calls `rb_eval_string_wrap` in C
Original definition is following
VALUE rb_eval_string_wrap(const char *str, int *state)
func RbExcNew ¶
RbExcNew calls `rb_exc_new` in C
Original definition is following
VALUE rb_exc_new(VALUE etype, const char *ptr, long len)
func RbExcNewCstr ¶
RbExcNewCstr calls `rb_exc_new_cstr` in C
Original definition is following
VALUE rb_exc_new_cstr(VALUE etype, const char *str)
func RbExcNewStr ¶
RbExcNewStr calls `rb_exc_new_str` in C
Original definition is following
VALUE rb_exc_new_str(VALUE etype, VALUE str)
func RbExecRecursive ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbExternalStrNew calls `rb_external_str_new` in C
Original definition is following
VALUE rb_external_str_new(const char *ptr, long len)
func RbExternalStrNewCstr ¶
RbExternalStrNewCstr calls `rb_external_str_new_cstr` in C
Original definition is following
VALUE rb_external_str_new_cstr(const char *ptr)
func RbExtractKeywords ¶
RbExtractKeywords calls `rb_extract_keywords` in C
Original definition is following
VALUE rb_extract_keywords(VALUE *orighash)
func RbFAbort ¶
RbFAbort calls `rb_f_abort` in C
Original definition is following
VALUE rb_f_abort(int argc, const VALUE *argv)
func RbFExec ¶
RbFExec calls `rb_f_exec` in C
Original definition is following
VALUE rb_f_exec(int argc, const VALUE *argv)
func RbFExit ¶
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 ¶
RbFKill calls `rb_f_kill` in C
Original definition is following
VALUE rb_f_kill(int argc, const VALUE *argv)
func RbFNotimplement ¶
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 ¶
RbFRequire calls `rb_f_require` in C
Original definition is following
VALUE rb_f_require(VALUE self, VALUE feature)
func RbFSprintf ¶
RbFSprintf calls `rb_f_sprintf` in C
Original definition is following
VALUE rb_f_sprintf(int argc, const VALUE *argv)
func RbFTraceVar ¶
RbFTraceVar calls `rb_f_trace_var` in C
Original definition is following
VALUE rb_f_trace_var(int argc, const VALUE *argv)
func RbFUntraceVar ¶
RbFUntraceVar calls `rb_f_untrace_var` in C
Original definition is following
VALUE rb_f_untrace_var(int argc, const VALUE *argv)
func RbFiberAliveP ¶
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 ¶
RbFiberRaise calls `rb_fiber_raise` in C
Original definition is following
VALUE rb_fiber_raise(VALUE fiber, int argc, const VALUE *argv)
func RbFiberResume ¶
RbFiberResume calls `rb_fiber_resume` in C
Original definition is following
VALUE rb_fiber_resume(VALUE fiber, int argc, const VALUE *argv)
func RbFiberResumeKw ¶
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 ¶
RbFiberTransfer calls `rb_fiber_transfer` in C
Original definition is following
VALUE rb_fiber_transfer(VALUE fiber, int argc, const VALUE *argv)
func RbFiberTransferKw ¶
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 ¶
RbFiberYield calls `rb_fiber_yield` in C
Original definition is following
VALUE rb_fiber_yield(int argc, const VALUE *argv)
func RbFiberYieldKw ¶
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 ¶
RbFileAbsolutePath calls `rb_file_absolute_path` in C
Original definition is following
VALUE rb_file_absolute_path(VALUE fname, VALUE dname)
func RbFileDirectoryP ¶
RbFileDirectoryP calls `rb_file_directory_p` in C
Original definition is following
VALUE rb_file_directory_p(VALUE _, VALUE path)
func RbFileDirname ¶
RbFileDirname calls `rb_file_dirname` in C
Original definition is following
VALUE rb_file_dirname(VALUE fname)
func RbFileExpandPath ¶
RbFileExpandPath calls `rb_file_expand_path` in C
Original definition is following
VALUE rb_file_expand_path(VALUE fname, VALUE dname)
func RbFileOpen ¶
RbFileOpen calls `rb_file_open` in C
Original definition is following
VALUE rb_file_open(const char *fname, const char *fmode)
func RbFileOpenStr ¶
RbFileOpenStr calls `rb_file_open_str` in C
Original definition is following
VALUE rb_file_open_str(VALUE fname, const char *fmode)
func RbFileSAbsolutePath ¶
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 ¶
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 ¶
RbFilesystemStrNew calls `rb_filesystem_str_new` in C
Original definition is following
VALUE rb_filesystem_str_new(const char *ptr, long len)
func RbFilesystemStrNewCstr ¶
RbFilesystemStrNewCstr calls `rb_filesystem_str_new_cstr` in C
Original definition is following
VALUE rb_filesystem_str_new_cstr(const char *ptr)
func RbFindFile ¶
RbFindFile calls `rb_find_file` in C
Original definition is following
VALUE rb_find_file(VALUE path)
func RbFix2Str ¶
RbFix2Str calls `rb_fix2str` in C
Original definition is following
VALUE rb_fix2str(VALUE val, int base)
func RbFloat ¶
RbFloat calls `rb_Float` in C
Original definition is following
VALUE rb_Float(VALUE val)
func RbFloatNew ¶
RbFloatNew calls `rb_float_new` in C
Original definition is following
VALUE rb_float_new(double d)
func RbFloatNewInHeap ¶
RbFloatNewInHeap calls `rb_float_new_in_heap` in C
Original definition is following
VALUE rb_float_new_in_heap(double d)
func RbFltRationalize ¶
RbFltRationalize calls `rb_flt_rationalize` in C
Original definition is following
VALUE rb_flt_rationalize(VALUE flt)
func RbFltRationalizeWithPrec ¶
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 ¶
RbFuncall2 is alias to RbFuncallv
func RbFuncall3 ¶
RbFuncall3 is alias to RbFuncallvPublic
func RbFuncallPassingBlock ¶
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 ¶
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 ¶
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 ¶
RbFuncallv calls `rb_funcallv` in C
Original definition is following
VALUE rb_funcallv(VALUE recv, ID mid, int argc, const VALUE *argv)
func RbFuncallvKw ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbGetPath calls `rb_get_path` in C
Original definition is following
VALUE rb_get_path(VALUE obj)
func RbGetPathNoChecksafe ¶
RbGetPathNoChecksafe calls `rb_get_path_no_checksafe` in C
Original definition is following
VALUE rb_get_path_no_checksafe(VALUE)
func RbGetValuesAt ¶
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 ¶
RbGvGet calls `rb_gv_get` in C
Original definition is following
VALUE rb_gv_get(const char *name)
func RbGvSet ¶
RbGvSet calls `rb_gv_set` in C
Original definition is following
VALUE rb_gv_set(const char *name, VALUE val)
func RbHashAref ¶
RbHashAref calls `rb_hash_aref` in C
Original definition is following
VALUE rb_hash_aref(VALUE hash, VALUE key)
func RbHashAset ¶
RbHashAset calls `rb_hash_aset` in C
Original definition is following
VALUE rb_hash_aset(VALUE hash, VALUE key, VALUE val)
func RbHashClear ¶
RbHashClear calls `rb_hash_clear` in C
Original definition is following
VALUE rb_hash_clear(VALUE hash)
func RbHashDelete ¶
RbHashDelete calls `rb_hash_delete` in C
Original definition is following
VALUE rb_hash_delete(VALUE hash, VALUE key)
func RbHashDeleteIf ¶
RbHashDeleteIf calls `rb_hash_delete_if` in C
Original definition is following
VALUE rb_hash_delete_if(VALUE hash)
func RbHashDup ¶
RbHashDup calls `rb_hash_dup` in C
Original definition is following
VALUE rb_hash_dup(VALUE hash)
func RbHashFetch ¶
RbHashFetch calls `rb_hash_fetch` in C
Original definition is following
VALUE rb_hash_fetch(VALUE hash, VALUE key)
func RbHashFreeze ¶
RbHashFreeze calls `rb_hash_freeze` in C
Original definition is following
VALUE rb_hash_freeze(VALUE obj)
func RbHashLookup ¶
RbHashLookup calls `rb_hash_lookup` in C
Original definition is following
VALUE rb_hash_lookup(VALUE hash, VALUE key)
func RbHashLookup2 ¶
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 ¶
RbHashNewCapa calls `rb_hash_new_capa` in C
Original definition is following
VALUE rb_hash_new_capa(long capa)
func RbHashSetIfnone ¶
RbHashSetIfnone calls `rb_hash_set_ifnone` in C
Original definition is following
VALUE rb_hash_set_ifnone(VALUE hash, VALUE ifnone)
func RbHashSize ¶
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 ¶
RbId2Str calls `rb_id2str` in C
Original definition is following
VALUE rb_id2str(ID id)
func RbId2Sym ¶
RbId2Sym calls `rb_id2sym` in C
Original definition is following
VALUE rb_id2sym(ID id)
func RbInspect ¶
RbInspect calls `rb_inspect` in C
Original definition is following
VALUE rb_inspect(VALUE obj)
func RbInt2Big ¶
RbInt2Big calls `rb_int2big` in C
Original definition is following
VALUE rb_int2big(intptr_t i)
func RbInt2Inum ¶
RbInt2Inum calls `rb_int2inum` in C
Original definition is following
VALUE rb_int2inum(intptr_t i)
func RbInt2NumInline ¶
RbInt2NumInline calls `rb_int2num_inline` in C
Original definition is following
rb_int2num_inline(int v)
func RbIntPositivePow ¶
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 ¶
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 ¶
RbInternedStr calls `rb_interned_str` in C
Original definition is following
VALUE rb_interned_str(const char *ptr, long len)
func RbInternedStrCstr ¶
RbInternedStrCstr calls `rb_interned_str_cstr` in C
Original definition is following
VALUE rb_interned_str_cstr(const char *ptr)
func RbIoAddstr ¶
RbIoAddstr calls `rb_io_addstr` in C
Original definition is following
VALUE rb_io_addstr(VALUE io, VALUE str)
func RbIoAscii8BitBinmode ¶
RbIoAscii8BitBinmode calls `rb_io_ascii8bit_binmode` in C
Original definition is following
VALUE rb_io_ascii8bit_binmode(VALUE io)
func RbIoBinmode ¶
RbIoBinmode calls `rb_io_binmode` in C
Original definition is following
VALUE rb_io_binmode(VALUE io)
func RbIoClose ¶
RbIoClose calls `rb_io_close` in C
Original definition is following
VALUE rb_io_close(VALUE io)
func RbIoEof ¶
RbIoEof calls `rb_io_eof` in C
Original definition is following
VALUE rb_io_eof(VALUE io)
func RbIoFdopen ¶
RbIoFdopen calls `rb_io_fdopen` in C
Original definition is following
VALUE rb_io_fdopen(int fd, int flags, const char *path)
func RbIoFlush ¶
RbIoFlush calls `rb_io_flush` in C
Original definition is following
VALUE rb_io_flush(VALUE io)
func RbIoGetbyte ¶
RbIoGetbyte calls `rb_io_getbyte` in C
Original definition is following
VALUE rb_io_getbyte(VALUE io)
func RbIoGets ¶
RbIoGets calls `rb_io_gets` in C
Original definition is following
VALUE rb_io_gets(VALUE io)
func RbIoPrint ¶
RbIoPrint calls `rb_io_print` in C
Original definition is following
VALUE rb_io_print(int argc, const VALUE *argv, VALUE io)
func RbIoPrintf ¶
RbIoPrintf calls `rb_io_printf` in C
Original definition is following
VALUE rb_io_printf(int argc, const VALUE *argv, VALUE io)
func RbIoPuts ¶
RbIoPuts calls `rb_io_puts` in C
Original definition is following
VALUE rb_io_puts(int argc, const VALUE *argv, VALUE io)
func RbIoUngetbyte ¶
RbIoUngetbyte calls `rb_io_ungetbyte` in C
Original definition is following
VALUE rb_io_ungetbyte(VALUE io, VALUE b)
func RbIoUngetc ¶
RbIoUngetc calls `rb_io_ungetc` in C
Original definition is following
VALUE rb_io_ungetc(VALUE io, VALUE c)
func RbIoWrite ¶
RbIoWrite calls `rb_io_write` in C
Original definition is following
VALUE rb_io_write(VALUE io, VALUE str)
func RbIvGet ¶
RbIvGet calls `rb_iv_get` in C
Original definition is following
VALUE rb_iv_get(VALUE obj, const char *name)
func RbIvSet ¶
RbIvSet calls `rb_iv_set` in C
Original definition is following
VALUE rb_iv_set(VALUE obj, const char *name, VALUE val)
func RbIvarDefined ¶
RbIvarDefined calls `rb_ivar_defined` in C
Original definition is following
VALUE rb_ivar_defined(VALUE obj, ID name)
func RbIvarGet ¶
RbIvarGet calls `rb_ivar_get` in C
Original definition is following
VALUE rb_ivar_get(VALUE obj, ID name)
func RbIvarSet ¶
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 ¶
RbLl2Inum calls `rb_ll2inum` in C
Original definition is following
VALUE rb_ll2inum(
func RbLl2NumInline ¶
RbLl2NumInline calls `rb_ll2num_inline` in C
Original definition is following
rb_ll2num_inline(
func RbLocaleStrNew ¶
RbLocaleStrNew calls `rb_locale_str_new` in C
Original definition is following
VALUE rb_locale_str_new(const char *ptr, long len)
func RbLocaleStrNewCstr ¶
RbLocaleStrNewCstr calls `rb_locale_str_new_cstr` in C
Original definition is following
VALUE rb_locale_str_new_cstr(const char *ptr)
func RbLong2NumInline ¶
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 ¶
RbMakeException calls `rb_make_exception` in C
Original definition is following
VALUE rb_make_exception(int argc, const VALUE *argv)
func RbMarshalDump ¶
RbMarshalDump calls `rb_marshal_dump` in C
Original definition is following
VALUE rb_marshal_dump(VALUE obj, VALUE port)
func RbMarshalLoad ¶
RbMarshalLoad calls `rb_marshal_load` in C
Original definition is following
VALUE rb_marshal_load(VALUE port)
func RbMemoryId ¶
RbMemoryId calls `rb_memory_id` in C
Original definition is following
VALUE rb_memory_id(VALUE obj)
func RbMethodCall ¶
RbMethodCall calls `rb_method_call` in C
Original definition is following
VALUE rb_method_call(int argc, const VALUE *argv, VALUE recv)
func RbMethodCallKw ¶
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 ¶
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 ¶
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 ¶
RbModAncestors calls `rb_mod_ancestors` in C
Original definition is following
VALUE rb_mod_ancestors(VALUE mod)
func RbModClassVariables ¶
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 ¶
RbModConstants calls `rb_mod_constants` in C
Original definition is following
VALUE rb_mod_constants(int argc, const VALUE *argv, VALUE recv)
func RbModIncludeP ¶
RbModIncludeP calls `rb_mod_include_p` in C
Original definition is following
VALUE rb_mod_include_p(VALUE child, VALUE parent)
func RbModIncludedModules ¶
RbModIncludedModules calls `rb_mod_included_modules` in C
Original definition is following
VALUE rb_mod_included_modules(VALUE mod)
func RbModInitCopy ¶
RbModInitCopy calls `rb_mod_init_copy` in C
Original definition is following
VALUE rb_mod_init_copy(VALUE clone, VALUE orig)
func RbModModuleEval ¶
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 ¶
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 ¶
RbModName calls `rb_mod_name` in C
Original definition is following
VALUE rb_mod_name(VALUE mod)
func RbModRemoveConst ¶
RbModRemoveConst calls `rb_mod_remove_const` in C
Original definition is following
VALUE rb_mod_remove_const(VALUE space, VALUE name)
func RbModRemoveCvar ¶
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 ¶
RbMutexLock calls `rb_mutex_lock` in C
Original definition is following
VALUE rb_mutex_lock(VALUE mutex)
func RbMutexLockedP ¶
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 ¶
RbMutexSleep calls `rb_mutex_sleep` in C
Original definition is following
VALUE rb_mutex_sleep(VALUE self, VALUE timeout)
func RbMutexSynchronize ¶
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 ¶
RbMutexTrylock calls `rb_mutex_trylock` in C
Original definition is following
VALUE rb_mutex_trylock(VALUE mutex)
func RbMutexUnlock ¶
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 ¶
RbNewobjOf calls `rb_newobj_of` in C
Original definition is following
VALUE rb_newobj_of(VALUE klass, VALUE flags)
func RbNum2Fix ¶
RbNum2Fix calls `rb_num2fix` in C
Original definition is following
VALUE rb_num2fix(VALUE val)
func RbNumCoerceBin ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbObjAlloc calls `rb_obj_alloc` in C
Original definition is following
VALUE rb_obj_alloc(VALUE klass)
func RbObjAsString ¶
RbObjAsString calls `rb_obj_as_string` in C
Original definition is following
VALUE rb_obj_as_string(VALUE obj)
func RbObjClass ¶
RbObjClass calls `rb_obj_class` in C
Original definition is following
VALUE rb_obj_class(VALUE obj)
func RbObjClone ¶
RbObjClone calls `rb_obj_clone` in C
Original definition is following
VALUE rb_obj_clone(VALUE obj)
func RbObjDup ¶
RbObjDup calls `rb_obj_dup` in C
Original definition is following
VALUE rb_obj_dup(VALUE obj)
func RbObjFreeze ¶
RbObjFreeze calls `rb_obj_freeze` in C
Original definition is following
VALUE rb_obj_freeze(VALUE obj)
func RbObjFrozenP ¶
RbObjFrozenP calls `rb_obj_frozen_p` in C
Original definition is following
VALUE rb_obj_frozen_p(VALUE obj)
func RbObjHide ¶
RbObjHide calls `rb_obj_hide` in C
Original definition is following
VALUE rb_obj_hide(VALUE obj)
func RbObjId ¶
RbObjId calls `rb_obj_id` in C
Original definition is following
VALUE rb_obj_id(VALUE obj)
func RbObjInitCopy ¶
RbObjInitCopy calls `rb_obj_init_copy` in C
Original definition is following
VALUE rb_obj_init_copy(VALUE src, VALUE dst)
func RbObjInstanceEval ¶
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 ¶
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 ¶
RbObjInstanceVariables calls `rb_obj_instance_variables` in C
Original definition is following
VALUE rb_obj_instance_variables(VALUE obj)
func RbObjIsFiber ¶
RbObjIsFiber calls `rb_obj_is_fiber` in C
Original definition is following
VALUE rb_obj_is_fiber(VALUE obj)
func RbObjIsInstanceOf ¶
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 ¶
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 ¶
RbObjIsMethod calls `rb_obj_is_method` in C
Original definition is following
VALUE rb_obj_is_method(VALUE recv)
func RbObjIsProc ¶
RbObjIsProc calls `rb_obj_is_proc` in C
Original definition is following
VALUE rb_obj_is_proc(VALUE recv)
func RbObjMethod ¶
RbObjMethod calls `rb_obj_method` in C
Original definition is following
VALUE rb_obj_method(VALUE recv, VALUE mid)
func RbObjRemoveInstanceVariable ¶
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 ¶
RbObjReveal calls `rb_obj_reveal` in C
Original definition is following
VALUE rb_obj_reveal(VALUE obj, VALUE klass)
func RbObjSetup ¶
RbObjSetup calls `rb_obj_setup` in C
Original definition is following
VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type)
func RbObjSingletonMethods ¶
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 ¶
RbObjWbUnprotect calls `rb_obj_wb_unprotect` in C
Original definition is following
rb_obj_wb_unprotect(
func RbObjWrite ¶
RbObjWrite calls `rb_obj_write` in C
Original definition is following
rb_obj_write(
func RbObjWritten ¶
RbObjWritten calls `rb_obj_written` in C
Original definition is following
rb_obj_written(
func RbPath2Class ¶
RbPath2Class calls `rb_path2class` in C
Original definition is following
VALUE rb_path2class(const char *path)
func RbPathToClass ¶
RbPathToClass calls `rb_path_to_class` in C
Original definition is following
VALUE rb_path_to_class(VALUE path)
func RbProcCall ¶
RbProcCall calls `rb_proc_call` in C
Original definition is following
VALUE rb_proc_call(VALUE recv, VALUE args)
func RbProcCallKw ¶
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 ¶
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 ¶
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 ¶
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 ¶
RbProcTimes calls `rb_proc_times` in C
Original definition is following
VALUE rb_proc_times(VALUE _)
func RbProcessStatusWait ¶
RbProcessStatusWait calls `rb_process_status_wait` in C
Original definition is following
VALUE rb_process_status_wait(pid_t pid, int flags)
func RbProtect ¶
RbProtect calls `rb_protect` in C
Original definition is following
VALUE rb_protect(VALUE (*func)(VALUE args), VALUE args, int *state)
func RbRandomBytes ¶
RbRandomBytes calls `rb_random_bytes` in C
Original definition is following
VALUE rb_random_bytes(VALUE rnd, long n)
func RbRangeBegLen ¶
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 ¶
RbRangeNew calls `rb_range_new` in C
Original definition is following
VALUE rb_range_new(VALUE beg, VALUE end, int excl)
func RbRational ¶
RbRational calls `rb_Rational` in C
Original definition is following
VALUE rb_Rational(VALUE num, VALUE den)
func RbRationalDen ¶
RbRationalDen calls `rb_rational_den` in C
Original definition is following
VALUE rb_rational_den(VALUE rat)
func RbRationalNew ¶
RbRationalNew calls `rb_rational_new` in C
Original definition is following
VALUE rb_rational_new(VALUE num, VALUE den)
func RbRationalNum ¶
RbRationalNum calls `rb_rational_num` in C
Original definition is following
VALUE rb_rational_num(VALUE rat)
func RbRationalRaw ¶
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 ¶
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 ¶
RbRegLastMatch calls `rb_reg_last_match` in C
Original definition is following
VALUE rb_reg_last_match(VALUE md)
func RbRegMatch ¶
RbRegMatch calls `rb_reg_match` in C
Original definition is following
VALUE rb_reg_match(VALUE re, VALUE str)
func RbRegMatch2 ¶
RbRegMatch2 calls `rb_reg_match2` in C
Original definition is following
VALUE rb_reg_match2(VALUE re)
func RbRegMatchLast ¶
RbRegMatchLast calls `rb_reg_match_last` in C
Original definition is following
VALUE rb_reg_match_last(VALUE md)
func RbRegMatchPost ¶
RbRegMatchPost calls `rb_reg_match_post` in C
Original definition is following
VALUE rb_reg_match_post(VALUE md)
func RbRegMatchPre ¶
RbRegMatchPre calls `rb_reg_match_pre` in C
Original definition is following
VALUE rb_reg_match_pre(VALUE md)
func RbRegNew ¶
RbRegNew calls `rb_reg_new` in C
Original definition is following
VALUE rb_reg_new(const char *src, long len, int opts)
func RbRegNewStr ¶
RbRegNewStr calls `rb_reg_new_str` in C
Original definition is following
VALUE rb_reg_new_str(VALUE src, int opts)
func RbRegNthDefined ¶
RbRegNthDefined calls `rb_reg_nth_defined` in C
Original definition is following
VALUE rb_reg_nth_defined(int n, VALUE md)
func RbRegNthMatch ¶
RbRegNthMatch calls `rb_reg_nth_match` in C
Original definition is following
VALUE rb_reg_nth_match(int n, VALUE md)
func RbRequire ¶
RbRequire calls `rb_require` in C
Original definition is following
VALUE rb_require(const char *feature)
func RbRequireString ¶
RbRequireString calls `rb_require_string` in C
Original definition is following
VALUE rb_require_string(VALUE feature)
func RbRescue ¶
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 ¶
RbSingletonClass calls `rb_singleton_class` in C
Original definition is following
VALUE rb_singleton_class(VALUE obj)
func RbSingletonClassClone ¶
RbSingletonClassClone calls `rb_singleton_class_clone` in C
Original definition is following
VALUE rb_singleton_class_clone(VALUE obj)
func RbSpecialConstP ¶
RbSpecialConstP calls `rb_special_const_p` in C
Original definition is following
rb_special_const_p(VALUE obj)
func RbStr2Inum ¶
RbStr2Inum calls `rb_str2inum` in C
Original definition is following
VALUE rb_str2inum(VALUE str, int base)
func RbStrAppend ¶
RbStrAppend calls `rb_str_append` in C
Original definition is following
VALUE rb_str_append(VALUE dst, VALUE src)
func RbStrBufAppend ¶
RbStrBufAppend calls `rb_str_buf_append` in C
Original definition is following
VALUE rb_str_buf_append(VALUE dst, VALUE src)
func RbStrBufCat ¶
RbStrBufCat calls `rb_str_buf_cat` in C
Original definition is following
VALUE rb_str_buf_cat(VALUE, const char*, long)
func RbStrBufCat2 ¶
RbStrBufCat2 calls `rb_str_buf_cat2` in C
Original definition is following
VALUE rb_str_buf_cat2(VALUE, const char*)
func RbStrBufCatAscii ¶
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 ¶
RbStrBufNew calls `rb_str_buf_new` in C
Original definition is following
VALUE rb_str_buf_new(long capa)
func RbStrBufNewCstr ¶
RbStrBufNewCstr calls `rb_str_buf_new_cstr` in C
Original definition is following
VALUE rb_str_buf_new_cstr(const char *ptr)
func RbStrCat ¶
RbStrCat calls `rb_str_cat` in C
Original definition is following
VALUE rb_str_cat(VALUE dst, const char *src, long srclen)
func RbStrCat2 ¶
RbStrCat2 calls `rb_str_cat2` in C
Original definition is following
VALUE rb_str_cat2(VALUE, const char*)
func RbStrCatCstr ¶
RbStrCatCstr calls `rb_str_cat_cstr` in C
Original definition is following
VALUE rb_str_cat_cstr(VALUE dst, const char *src)
func RbStrConcat ¶
RbStrConcat calls `rb_str_concat` in C
Original definition is following
VALUE rb_str_concat(VALUE dst, VALUE src)
func RbStrDropBytes ¶
RbStrDropBytes calls `rb_str_drop_bytes` in C
Original definition is following
VALUE rb_str_drop_bytes(VALUE str, long len)
func RbStrDump ¶
RbStrDump calls `rb_str_dump` in C
Original definition is following
VALUE rb_str_dump(VALUE str)
func RbStrDup ¶
RbStrDup calls `rb_str_dup` in C
Original definition is following
VALUE rb_str_dup(VALUE str)
func RbStrDupFrozen ¶
RbStrDupFrozen calls `rb_str_dup_frozen` in C
Original definition is following
VALUE rb_str_dup_frozen(VALUE)
func RbStrEllipsize ¶
RbStrEllipsize calls `rb_str_ellipsize` in C
Original definition is following
VALUE rb_str_ellipsize(VALUE str, long len)
func RbStrEncodeOspath ¶
RbStrEncodeOspath calls `rb_str_encode_ospath` in C
Original definition is following
VALUE rb_str_encode_ospath(VALUE path)
func RbStrEqual ¶
RbStrEqual calls `rb_str_equal` in C
Original definition is following
VALUE rb_str_equal(VALUE str1, VALUE str2)
func RbStrExport ¶
RbStrExport calls `rb_str_export` in C
Original definition is following
VALUE rb_str_export(VALUE obj)
func RbStrExportLocale ¶
RbStrExportLocale calls `rb_str_export_locale` in C
Original definition is following
VALUE rb_str_export_locale(VALUE obj)
func RbStrFormat ¶
RbStrFormat calls `rb_str_format` in C
Original definition is following
VALUE rb_str_format(int argc, const VALUE *argv, VALUE fmt)
func RbStrFreeze ¶
RbStrFreeze calls `rb_str_freeze` in C
Original definition is following
VALUE rb_str_freeze(VALUE str)
func RbStrInspect ¶
RbStrInspect calls `rb_str_inspect` in C
Original definition is following
VALUE rb_str_inspect(VALUE str)
func RbStrIntern ¶
RbStrIntern calls `rb_str_intern` in C
Original definition is following
VALUE rb_str_intern(VALUE str)
func RbStrLength ¶
RbStrLength calls `rb_str_length` in C
Original definition is following
VALUE rb_str_length(VALUE)
func RbStrLocktmp ¶
RbStrLocktmp calls `rb_str_locktmp` in C
Original definition is following
VALUE rb_str_locktmp(VALUE str)
func RbStrNew ¶
RbStrNew calls `rb_str_new` in C
Original definition is following
VALUE rb_str_new(const char *ptr, long len)
func RbStrNewCstr ¶
RbStrNewCstr calls `rb_str_new_cstr` in C
Original definition is following
VALUE rb_str_new_cstr(const char *ptr)
func RbStrNewFrozen ¶
RbStrNewFrozen calls `rb_str_new_frozen` in C
Original definition is following
VALUE rb_str_new_frozen(VALUE str)
func RbStrNewShared ¶
RbStrNewShared calls `rb_str_new_shared` in C
Original definition is following
VALUE rb_str_new_shared(VALUE str)
func RbStrNewStatic ¶
RbStrNewStatic calls `rb_str_new_static` in C
Original definition is following
VALUE rb_str_new_static(const char *ptr, long len)
func RbStrNewWithClass ¶
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 ¶
RbStrPlus calls `rb_str_plus` in C
Original definition is following
VALUE rb_str_plus(VALUE lhs, VALUE rhs)
func RbStrReplace ¶
RbStrReplace calls `rb_str_replace` in C
Original definition is following
VALUE rb_str_replace(VALUE dst, VALUE src)
func RbStrResize ¶
RbStrResize calls `rb_str_resize` in C
Original definition is following
VALUE rb_str_resize(VALUE str, long len)
func RbStrResurrect ¶
RbStrResurrect calls `rb_str_resurrect` in C
Original definition is following
VALUE rb_str_resurrect(VALUE str)
func RbStrScrub ¶
RbStrScrub calls `rb_str_scrub` in C
Original definition is following
VALUE rb_str_scrub(VALUE str, VALUE repl)
func RbStrSplit ¶
RbStrSplit calls `rb_str_split` in C
Original definition is following
VALUE rb_str_split(VALUE str, const char *delim)
func RbStrSubseq ¶
RbStrSubseq calls `rb_str_subseq` in C
Original definition is following
VALUE rb_str_subseq(VALUE str, long beg, long len)
func RbStrSubstr ¶
RbStrSubstr calls `rb_str_substr` in C
Original definition is following
VALUE rb_str_substr(VALUE str, long beg, long len)
func RbStrSucc ¶
RbStrSucc calls `rb_str_succ` in C
Original definition is following
VALUE rb_str_succ(VALUE orig)
func RbStrTimes ¶
RbStrTimes calls `rb_str_times` in C
Original definition is following
VALUE rb_str_times(VALUE str, VALUE num)
func RbStrTmpNew ¶
RbStrTmpNew calls `rb_str_tmp_new` in C
Original definition is following
VALUE rb_str_tmp_new(long len)
func RbStrToInternedStr ¶
RbStrToInternedStr calls `rb_str_to_interned_str` in C
Original definition is following
VALUE rb_str_to_interned_str(VALUE str)
func RbStrToInum ¶
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 ¶
RbStrToStr calls `rb_str_to_str` in C
Original definition is following
VALUE rb_str_to_str(VALUE obj)
func RbStrUnlocktmp ¶
RbStrUnlocktmp calls `rb_str_unlocktmp` in C
Original definition is following
VALUE rb_str_unlocktmp(VALUE str)
func RbString ¶
RbString calls `rb_String` in C
Original definition is following
VALUE rb_String(VALUE val)
func RbStringValue ¶
RbStringValue calls `rb_string_value` in C
Original definition is following
VALUE rb_string_value(volatile VALUE *ptr)
func RbStructAlloc ¶
RbStructAlloc calls `rb_struct_alloc` in C
Original definition is following
VALUE rb_struct_alloc(VALUE klass, VALUE values)
func RbStructAllocNoinit ¶
RbStructAllocNoinit calls `rb_struct_alloc_noinit` in C
Original definition is following
VALUE rb_struct_alloc_noinit(VALUE klass)
func RbStructAref ¶
RbStructAref calls `rb_struct_aref` in C
Original definition is following
VALUE rb_struct_aref(VALUE st, VALUE k)
func RbStructAset ¶
RbStructAset calls `rb_struct_aset` in C
Original definition is following
VALUE rb_struct_aset(VALUE st, VALUE k, VALUE v)
func RbStructGetmember ¶
RbStructGetmember calls `rb_struct_getmember` in C
Original definition is following
VALUE rb_struct_getmember(VALUE self, ID key)
func RbStructInitialize ¶
RbStructInitialize calls `rb_struct_initialize` in C
Original definition is following
VALUE rb_struct_initialize(VALUE self, VALUE values)
func RbStructMembers ¶
RbStructMembers calls `rb_struct_members` in C
Original definition is following
VALUE rb_struct_members(VALUE self)
func RbStructSMembers ¶
RbStructSMembers calls `rb_struct_s_members` in C
Original definition is following
VALUE rb_struct_s_members(VALUE klass)
func RbStructSize ¶
RbStructSize calls `rb_struct_size` in C
Original definition is following
VALUE rb_struct_size(VALUE st)
func RbSym2Str ¶
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 ¶
RbSymToS calls `rb_sym_to_s` in C
Original definition is following
VALUE rb_sym_to_s(VALUE sym)
func RbSyserrNew ¶
RbSyserrNew calls `rb_syserr_new` in C
Original definition is following
VALUE rb_syserr_new(int err, const char * msg)
func RbSyserrNewStr ¶
RbSyserrNewStr calls `rb_syserr_new_str` in C
Original definition is following
VALUE rb_syserr_new_str(int n, VALUE arg)
func RbThreadCreate ¶
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 ¶
RbThreadKill calls `rb_thread_kill` in C
Original definition is following
VALUE rb_thread_kill(VALUE thread)
func RbThreadLocalAref ¶
RbThreadLocalAref calls `rb_thread_local_aref` in C
Original definition is following
VALUE rb_thread_local_aref(VALUE thread, ID key)
func RbThreadLocalAset ¶
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 ¶
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 ¶
RbThreadWakeup calls `rb_thread_wakeup` in C
Original definition is following
VALUE rb_thread_wakeup(VALUE thread)
func RbThreadWakeupAlive ¶
RbThreadWakeupAlive calls `rb_thread_wakeup_alive` in C
Original definition is following
VALUE rb_thread_wakeup_alive(VALUE thread)
func RbTimeNanoNew ¶
RbTimeNanoNew calls `rb_time_nano_new` in C
Original definition is following
VALUE rb_time_nano_new(time_t sec, long nsec)
func RbTimeNew ¶
RbTimeNew calls `rb_time_new` in C
Original definition is following
VALUE rb_time_new(time_t sec, long usec)
func RbTimeNumNew ¶
RbTimeNumNew calls `rb_time_num_new` in C
Original definition is following
VALUE rb_time_num_new(VALUE timev, VALUE off)
func RbTimeTimespecNew ¶
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 ¶
RbTimeUtcOffset calls `rb_time_utc_offset` in C
Original definition is following
VALUE rb_time_utc_offset(VALUE time)
func RbToFloat ¶
RbToFloat calls `rb_to_float` in C
Original definition is following
VALUE rb_to_float(VALUE val)
func RbToInt ¶
RbToInt calls `rb_to_int` in C
Original definition is following
VALUE rb_to_int(VALUE val)
func RbToSymbol ¶
RbToSymbol calls `rb_to_symbol` in C
Original definition is following
VALUE rb_to_symbol(VALUE name)
func RbUint2Big ¶
RbUint2Big calls `rb_uint2big` in C
Original definition is following
VALUE rb_uint2big(uintptr_t i)
func RbUint2Inum ¶
RbUint2Inum calls `rb_uint2inum` in C
Original definition is following
VALUE rb_uint2inum(uintptr_t i)
func RbUint2NumInline ¶
RbUint2NumInline calls `rb_uint2num_inline` in C
Original definition is following
rb_uint2num_inline(unsigned int v)
func RbUll2Inum ¶
RbUll2Inum calls `rb_ull2inum` in C
Original definition is following
VALUE rb_ull2inum(unsigned
func RbUll2NumInline ¶
RbUll2NumInline calls `rb_ull2num_inline` in C
Original definition is following
rb_ull2num_inline(unsigned
func RbUlong2NumInline ¶
RbUlong2NumInline calls `rb_ulong2num_inline` in C
Original definition is following
rb_ulong2num_inline(unsigned long v)
func RbUndefineFinalizer ¶
RbUndefineFinalizer calls `rb_undefine_finalizer` in C
Original definition is following
VALUE rb_undefine_finalizer(VALUE obj)
func RbUsasciiStrNew ¶
RbUsasciiStrNew calls `rb_usascii_str_new` in C
Original definition is following
VALUE rb_usascii_str_new(const char *ptr, long len)
func RbUsasciiStrNewCstr ¶
RbUsasciiStrNewCstr calls `rb_usascii_str_new_cstr` in C
Original definition is following
VALUE rb_usascii_str_new_cstr(const char *ptr)
func RbUsasciiStrNewStatic ¶
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 ¶
RbUtf8StrNew calls `rb_utf8_str_new` in C
Original definition is following
VALUE rb_utf8_str_new(const char *ptr, long len)
func RbUtf8StrNewCstr ¶
RbUtf8StrNewCstr calls `rb_utf8_str_new_cstr` in C
Original definition is following
VALUE rb_utf8_str_new_cstr(const char *ptr)
func RbUtf8StrNewStatic ¶
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 ¶
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 ¶
RbYieldSplat calls `rb_yield_splat` in C
Original definition is following
VALUE rb_yield_splat(VALUE ary)
func RbYieldSplatKw ¶
RbYieldSplatKw calls `rb_yield_splat_kw` in C
Original definition is following
VALUE rb_yield_splat_kw(VALUE ary, int kw_splat)
func RbYieldValues2 ¶
RbYieldValues2 calls `rb_yield_values2` in C
Original definition is following
VALUE rb_yield_values2(int n, const VALUE *argv)
func RbYieldValuesKw ¶
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 ¶
Slice2rbAry convert from Go slice to rb_ary
func String2Value ¶
String2Value convert from Go string to VALUE
Source Files
¶
- c_struct.go
- c_types.go
- doc.go
- enum_generated.go
- function_generated.go
- go_struct.go
- ruby_internal_arithmetic_int.go
- ruby_internal_arithmetic_long.go
- ruby_internal_error.go
- ruby_internal_eval.go
- ruby_internal_intern_array.go
- ruby_internal_intern_string.go
- ruby_internal_special_consts.go
- struct.go
- type_generated.go
- wrapper.go