public class PythonClientHeader
extends java.lang.Object
PyObject is an instance of this extension type, and
an import macro.| Constructor and Description |
|---|
PythonClientHeader(Symbol sym,
Context context)
Create an object capable of generating the header file for a
BABEL extendable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateCode()
Generate the header file for the extendable with which this object was
created.
|
public PythonClientHeader(Symbol sym, Context context) throws CodeGenerationException
ext - an interface or class symbol that needs a header
file for a Python C extension class.CodeGenerationExceptionpublic void generateCode()
throws CodeGenerationException
CodeGenerationException - this is a catch all exception for problems during the code
generation phase.