features
¶
Classes:
Functions:
NativeArtifact
dataclass
¶
NativeArtifact(
kind: NativeArtifactKind,
path: Path,
include_dirs: tuple[Path, ...] = (),
compile_flags: tuple[str, ...] = (),
link_flags: tuple[str, ...] = (),
)
RuntimeFeature
dataclass
¶
RuntimeFeature(
name: str,
symbols: Mapping[str, ExternalSymbolSpec] = dict(),
artifacts: tuple[NativeArtifact, ...] = (),
linker_flags: tuple[str, ...] = (),
metadata: Mapping[str, object] = dict(),
)
declare_external_function
¶
declare_external_function(
module: Module, name: str, fn_type: FunctionType
) -> Function
Source code in src/irx/runtime/features.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |