Skip to main content

Module program

Module program 

Source

Functions§

lanes_program_free
Free a Program handle.
lanes_program_from_binary
Parse a native LANES binary buffer into a Program handle.
lanes_program_from_text
Parse assembly text (null-terminated UTF-8) into a Program handle.
lanes_program_instruction_count
Query instruction count.
lanes_program_to_binary
Serialize a Program to native LANES binary format. Caller must free the returned buffer with lanes_free_bytes(out_data, out_len).
lanes_program_to_text
Print a Program as assembly text. Caller must free the returned string with lanes_free_string().
lanes_program_version
Query program version.