| FFI | — | module | bundled | Foreign function interface |
| ffi.cdef | FFI | function | bundled | Registers C types, typedefs and function prototypes. |
| ffi.load | FFI | function | bundled | Loads a shared library. |
| ffi.cnew | FFI | function | bundled | Allocates a new C data object. |
| ffi.cast | FFI | function | bundled | Converts a value to a C type. |
| ffi.typeof | FFI | function | bundled | Returns the C type of a value or declaration. |
| ffi.addressof | FFI | function | bundled | Returns a pointer to the storage of a C data object. |
| ffi.gc | FFI | function | bundled | Sets the finalizer of a C data object. |
| ffi.sizeof | FFI | function | bundled | Returns the size of a C type in bytes. |
| ffi.offsetof | FFI | function | bundled | Returns the byte offset of a record field. |
| ffi.alignof | FFI | function | bundled | Returns the alignment of a C type in bytes. |
| ffi.istype | FFI | function | bundled | Checks whether a C data object has a given type. |
| ffi.tonumber | FFI | function | bundled | Converts scalar C data to a number. |
| ffi.string | FFI | function | bundled | Reads a Teascript string from C memory. |
| ffi.copy | FFI | function | bundled | Copies bytes into C memory. |
| ffi.fill | FFI | function | bundled | Fills C memory with a byte value. |
| ffi.errno | FFI | function | bundled | Gets or sets the C errno value. |
| ffi.abi | FFI | function | bundled | Tests the target ABI. |
| ffi.C | FFI | attribute | bundled | The process C library. |
| CData | FFI | class | bundled | A value living in C memory. |
| CType | FFI | class | bundled | A description of a C type. |
| CLib | FFI | class | bundled | A loaded C shared library. |