Module artichoke_backend::ffi[][src]

Functions for interacting directly with mruby structs from sys.

These functions are unsafe. Use them carefully.

Structs

ConvertBytesError
InterpreterExtractError

Failed to extract Artichoke interpreter at an FFI boundary.

Functions

bytes_to_os_str

Convert a byte slice to a platform-specific OsStr.

from_user_data

Extract an Artichoke interpreter from the user data pointer on a sys::mrb_state.

os_str_to_bytes

Convert a platform-specific OsStr to a byte slice.

os_string_to_bytes

Convert a platform-specific OsString to a byte vec.