NameCategoryKindOriginSummary
FFI—modulebundledForeign function interface
ffi.cdefFFIfunctionbundledRegisters C types, typedefs and function prototypes.
ffi.loadFFIfunctionbundledLoads a shared library.
ffi.cnewFFIfunctionbundledAllocates a new C data object.
ffi.castFFIfunctionbundledConverts a value to a C type.
ffi.typeofFFIfunctionbundledReturns the C type of a value or declaration.
ffi.addressofFFIfunctionbundledReturns a pointer to the storage of a C data object.
ffi.gcFFIfunctionbundledSets the finalizer of a C data object.
ffi.sizeofFFIfunctionbundledReturns the size of a C type in bytes.
ffi.offsetofFFIfunctionbundledReturns the byte offset of a record field.
ffi.alignofFFIfunctionbundledReturns the alignment of a C type in bytes.
ffi.istypeFFIfunctionbundledChecks whether a C data object has a given type.
ffi.tonumberFFIfunctionbundledConverts scalar C data to a number.
ffi.stringFFIfunctionbundledReads a Teascript string from C memory.
ffi.copyFFIfunctionbundledCopies bytes into C memory.
ffi.fillFFIfunctionbundledFills C memory with a byte value.
ffi.errnoFFIfunctionbundledGets or sets the C errno value.
ffi.abiFFIfunctionbundledTests the target ABI.
ffi.CFFIattributebundledThe process C library.
CDataFFIclassbundledA value living in C memory.
CTypeFFIclassbundledA description of a C type.
CLibFFIclassbundledA loaded C shared library.