CompiledComponentRawInterface

CompiledComponentRawInterface[comp]

represents the raw interface of a compiled component.

Details

Examples

Basic Examples  (1)

CompiledComponentRawInterface is useful because it allows declarations from a compiled component to be used from a library without having to compile them.

DeclareCompiledComponent can create a raw library function to be used by other compiled code:

Build the component library:

Load and initialize the component library:

A declaration of the function in the library:

Compile a function that uses the library:

Run the computation that calls the library:

Instead of using the LibraryFunctionDeclaration, the component library interface can be used directly:

Wolfram Research (2024), CompiledComponentRawInterface, Wolfram Language function, https://reference.wolfram.com/language/ref/CompiledComponentRawInterface.html.

Text

Wolfram Research (2024), CompiledComponentRawInterface, Wolfram Language function, https://reference.wolfram.com/language/ref/CompiledComponentRawInterface.html.

CMS

Wolfram Language. 2024. "CompiledComponentRawInterface." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CompiledComponentRawInterface.html.

APA

Wolfram Language. (2024). CompiledComponentRawInterface. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CompiledComponentRawInterface.html

BibTeX

@misc{reference.wolfram_2024_compiledcomponentrawinterface, author="Wolfram Research", title="{CompiledComponentRawInterface}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/CompiledComponentRawInterface.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_compiledcomponentrawinterface, organization={Wolfram Research}, title={CompiledComponentRawInterface}, year={2024}, url={https://reference.wolfram.com/language/ref/CompiledComponentRawInterface.html}, note=[Accessed: 21-November-2024 ]}