# Builds the 'TinyCC' Command-Line Interface and Library for 'C' Scripting in 'R'

## Documentation for package ‘Rtinycc’ version 0.1.10

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B G I P T misc

## -- A --

as.character.tcc_cstring | Convert a 'tcc_cstring' object to an R string

## -- B --

blas_lapack_info | Report active BLAS/LAPACK runtime information from R

## -- G --

generate_trampoline | Generate trampoline code for a callback argument
get_external_ptr_addr | Get the address of an external pointer

## -- I --

is_callback_type | Check if a type represents a callback

## -- P --

parse_callback_type | Parse callback type specification
print.tcc_callback | Print tcc_callback object
print.tcc_compiled | Print tcc_compiled object
print.tcc_cstring | Print a 'tcc_cstring' object
print.tcc_ffi | Print tcc_ffi object

## -- T --

tcc_add_file | Add a source file to a libtcc state
tcc_add_include_path | Add an include path to a libtcc state
tcc_add_library | Add a library to a libtcc state
tcc_add_library_path | Add a library path to a libtcc state
tcc_add_symbol | Add a symbol to a libtcc state
tcc_add_sysinclude_path | Add a system include path to a libtcc state
tcc_bind | Bind symbols with type specifications
tcc_bin_path | TinyCC paths
tcc_callback | Register an R function as a callback
tcc_callback_async_drain | Drain the async callback queue
tcc_callback_async_schedule | Schedule a callback to run on the main thread
tcc_callback_close | Close/unregister a callback
tcc_callback_ptr | Get the C-compatible function pointer
tcc_callback_valid | Check if callback is still valid
tcc_call_symbol | Call a zero-argument symbol with a specified return type
tcc_cli | TinyCC paths
tcc_compile | Compile FFI bindings
tcc_compile_string | Compile C code from a character string
tcc_container_of | Generate container_of helper for struct member
tcc_cstring | Create a C-style string pointer
tcc_cstring_object | CString S3 Class
tcc_data_ptr | Dereference a pointer-to-pointer
tcc_enum | Declare enum for FFI helper generation
tcc_ffi | Create a new FFI compilation context
tcc_field_addr | Generate field address getter helpers
tcc_free | Free owned memory
tcc_generate_bindings | Generate bindings from header declarations
tcc_get_symbol | Get a symbol pointer from a libtcc state
tcc_global | Declare a global variable getter
tcc_header | Add C headers
tcc_include | Add include path to FFI context
tcc_include_path | TinyCC paths
tcc_include_paths | TinyCC include search paths
tcc_introspect | Enable introspection helpers
tcc_library | Add library to link against
tcc_library_path | Add library path to FFI context
tcc_lib_path | TinyCC paths
tcc_lib_paths | TinyCC paths
tcc_link | Link an external shared library with Bun-style FFI bindings
tcc_malloc | Allocate memory buffer
tcc_map_c_type_to_ffi | Map a C type string to an Rtinycc FFI type
tcc_null_ptr | Create a NULL pointer
tcc_options | Add TinyCC compiler options to FFI context
tcc_output | Set output type for FFI compilation
tcc_path | Locate the TinyCC executable
tcc_prefix | TinyCC paths
tcc_ptr_addr | Get pointer address as integer
tcc_ptr_free_set_null | Free the pointed memory and set to NULL
tcc_ptr_is_null | Check whether an external pointer is NULL
tcc_ptr_is_owned | Check for the '"rtinycc_owned"' tag
tcc_ptr_set | Set a pointer-to-pointer value
tcc_ptr_utils | Pointer and Buffer Utilities for FFI
tcc_read_bytes | Read raw bytes from a pointer
tcc_read_cstring | Read C-style string from pointer
tcc_read_f32 | Read 32-bit float
tcc_read_f64 | Read 64-bit doubles from a pointer
tcc_read_i16 | Read signed 16-bit integer
tcc_read_i32 | Read signed 32-bit integers from a pointer
tcc_read_i64 | Read signed 64-bit integer
tcc_read_i8 | Read signed 8-bit integer
tcc_read_ptr | Read a pointer at byte offset
tcc_read_u16 | Read unsigned 16-bit integer
tcc_read_u32 | Read unsigned 32-bit integer
tcc_read_u64 | Read unsigned 64-bit integer
tcc_read_u8 | Read unsigned 8-bit values from a pointer
tcc_recompile | Recompile a tcc_compiled object
tcc_relocate | Relocate compiled code
tcc_run_cli | Run the tinycc CLI
tcc_set_options | Apply raw TinyCC options to a libtcc state
tcc_source | Add C source code
tcc_state | Create a libtcc state
tcc_struct | Declare struct for FFI helper generation
tcc_struct_raw_access | Enable raw byte access for struct
tcc_symbol_is_valid | Check if a tcc_symbol external pointer is valid
tcc_sysinclude_paths | TinyCC include search paths
tcc_treesitter_bindings | Generate bindings from a header
tcc_treesitter_defines | Extract macro defines from a header file
tcc_treesitter_enums | Parse enum declarations with treesitter.c
tcc_treesitter_enum_bindings | Apply tcc_enum() bindings from a header
tcc_treesitter_enum_members | Parse enum members with treesitter.c
tcc_treesitter_functions | Parse function declarations with treesitter.c
tcc_treesitter_globals | Parse global declarations with treesitter.c
tcc_treesitter_global_types | Parse global declarations with types using treesitter.c
tcc_treesitter_structs | Parse struct declarations with treesitter.c
tcc_treesitter_struct_accessors | Generate tcc_struct() accessors from header structs
tcc_treesitter_struct_bindings | Apply tcc_struct() bindings from a header
tcc_treesitter_struct_members | Parse struct members (including bitfields) with treesitter.c
tcc_treesitter_unions | Parse union declarations with treesitter.c
tcc_treesitter_union_accessors | Generate tcc_union() accessors from header unions
tcc_treesitter_union_bindings | Apply tcc_union() bindings from a header
tcc_treesitter_union_members | Parse union members with treesitter.c
tcc_union | Declare union for FFI helper generation
tcc_write_bytes | Write raw bytes to a pointer
tcc_write_f32 | Write a 32-bit float
tcc_write_f64 | Write a 64-bit double
tcc_write_i16 | Write a signed 16-bit integer
tcc_write_i32 | Write a signed 32-bit integer
tcc_write_i64 | Write a signed 64-bit integer
tcc_write_i8 | Write a signed 8-bit integer
tcc_write_ptr | Write a pointer at byte offset
tcc_write_u16 | Write an unsigned 16-bit integer
tcc_write_u32 | Write an unsigned 32-bit integer
tcc_write_u64 | Write an unsigned 64-bit integer
tcc_write_u8 | Write an unsigned 8-bit integer

## -- misc --

$.tcc_compiled | Access a compiled FFI symbol