|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
A generator for C++ native binding declarations and definitions. More...
#include <bond/tools/nativebindinggenerator.h>
Public Member Functions | |
| void | Generate (const TranslationUnit *translationUnitList, OutputStream &cppStream, OutputStream &hStream, const char *collectionName, const char *includeName) |
| Generates C++ native binding source and header output. | |
A generator for C++ native binding declarations and definitions.
The NativeBindingGenerator scans parsed Bond translation units and emits C++ binding glue that allows Bond code to call native functions.
| void Bond::NativeBindingGenerator::Generate | ( | const TranslationUnit * | translationUnitList, |
| OutputStream & | cppStream, | ||
| OutputStream & | hStream, | ||
| const char * | collectionName, | ||
| const char * | includeName ) |
Generates C++ native binding source and header output.
| translationUnitList | Linked list of translation units to scan for native declarations. |
| cppStream | Output stream receiving generated C++ source definitions. |
| hStream | Output stream receiving generated C++ header declarations. |
| collectionName | Identifier of the generated native binding collection. |
| includeName | Include path written into the generated C++ source file for the header. |