Skip to content

_Context

Declaration

_Context :: struct {
    alloc_fn: _AllocFn;
    free_fn: _FreeFn;
    print_log_fn: _PrintLogFn;
}

Description

Default implicit context type. Implicit context is compiler internal global variable containing basic context for whole assembly. This variable is mutable and can be modified by user code.

Members

  • alloc_fn Pointer to memory allocator function.
  • free_fn Pointer to memory free function.
  • print_log_fn Pointer to print log function.

Declared in: basic.bl