API reference
python:irx:irx.analysis.registry.SemanticRegistry.register_function
method register_function
register_function(prototype: astx.FunctionPrototype, *, definition: astx.FunctionDef | None = None, validate_ffi: bool = True) -> SemanticFunction
Source: packages/irx/src/irx/analysis/registry.py:646
Register one top-level function.
Parameters
-
prototype โ Type: astx.FunctionPrototype
-
definition โ Type: astx.FunctionDef | None
-
validate_ffi โ Type: bool
Returns
Type: SemanticFunction