Files
concrete/docs/dev/api/concrete.compiler.library_compilation_result.md
Benoit Chevallier-Mames e352eff1b3 docs(compiler): adding API doc
2024-03-13 14:52:46 +01:00

2.1 KiB

module concrete.compiler.library_compilation_result

LibraryCompilationResult.


class LibraryCompilationResult

LibraryCompilationResult holds the result of the library compilation.

method __init__

__init__(library_compilation_result: LibraryCompilationResult)

Wrap the native Cpp object.

Args:

  • library_compilation_result (_LibraryCompilationResult): object to wrap

Raises:

  • TypeError: if library_compilation_result is not of type _LibraryCompilationResult

method new

new(output_dir_path: str, func_name: str)  LibraryCompilationResult

Build a LibraryCompilationResult at output_dir_path, with func_name as entrypoint.

Args:

  • output_dir_path (str): path to the compilation artifacts
  • func_name (str): entrypoint function name

Raises:

  • TypeError: if output_dir_path is not of type str
  • TypeError: if func_name is not of type str

Returns: LibraryCompilationResult