Description Usage Arguments Author(s) References See Also
The idea is that this will be the top-level entry point
which a caller can use to generate an interface to a translation unit.
This would then generate all the code for interfacing to the code in
that translation unit. The results could then be written via
writeCode
and the resulting C/C++ and R code
would be runnable, assuming the availability of the dependencies
such as RAutoGenRunTime.
1 2 | createInterface(decls, files = character(0), ...,
classes = getClassNodes(decls, files))
|
decls |
the translation unit parser object returned from
e.g. |
files |
the names of the files (without the directory part) identifying the files in which the definitions of interest are located. This is used to filter our the symbols that are not of interest, e.g. the system level symbols. |
... |
passed in each call to |
classes |
the TU nodes that correspond to the classes of interest. |
Duncan Temple Lang
The GCC suite and translation units
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.