Crate gluon_c_api

Source
Expand description

A (WIP) C API allowing use of gluon in other langauges than Rust.

Enums§

Error

Functions§

glu_call_function
glu_free_vm
glu_get_bool
glu_get_byte
glu_get_float
glu_get_int
glu_get_light_userdata
glu_get_string
The returned string is garbage collected and may not be valid after the string is removed from its slot in the stack
glu_len
glu_load_script
glu_new_vm
glu_pop
glu_push_bool
glu_push_byte
glu_push_float
glu_push_function
glu_push_int
glu_push_light_userdata
glu_push_string
Push a string to the stack. The string must be valid utf-8 or an error will be returned
glu_push_string_unchecked
Push a string to the stack. If the string is not utf-8 this function will trigger undefined behaviour.
glu_run_expr

Type Aliases§

Function