Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
x86.h File Reference

Native x86 target environment creation. More...

Go to the source code of this file.

Functions

loomc_status_t loomc_target_environment_create_x86 (loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment)
 Creates a target environment containing the native x86 compiler and emitter.

Detailed Description

Native x86 target environment creation.

Function Documentation

◆ loomc_target_environment_create_x86()

loomc_status_t loomc_target_environment_create_x86 ( loomc_allocator_t allocator,
loomc_target_environment_t ** out_target_environment )

Creates a target environment containing the native x86 compiler and emitter.

Parameters
allocatorHost allocator used for target-environment storage.
out_target_environmentReceives one retained target environment on success.
Returns
OK when the target environment was created.
Ownership
The caller owns the returned reference and releases it with loomc_target_environment_release.