gov.llnl.babel.backend.python
Class PythonClientHeader
java.lang.Object
gov.llnl.babel.backend.python.PythonClientHeader
public class PythonClientHeader
extends java.lang.Object
Create and write a header for a Python C extension class to wrap a
BABEL extendable in a Python object. The header has to expose a
function to create a wrapped IOR, a function to check if a
PyObject
is an instance of this extension type, and
an import macro.
void | generateCode() - Generate the header file for the extendable with which this object was
created.
|
PythonClientHeader
public PythonClientHeader(Symbol sym,
Context context)
throws CodeGenerationException
Create an object capable of generating the header file for a
BABEL extendable.
generateCode
public void generateCode()
throws CodeGenerationException
Generate the header file for the extendable with which this object was
created.