genCode {RGtkBindingGenerator} | R Documentation |
This takes one or more symbolic descriptions of a collection of classes, routines and enumerations and generates the S-language bindings to these entitities. This includes both S-language functions and the associated C code.
genCode(defs = getDefs(), filePrefix = "gtk", dir = "/tmp", existingDefs = NULL, verbose = FALSE, libName = filePrefix, package = "RGtk")
defs |
|
filePrefix |
|
dir |
the directory in which to write the files containing the generated S and C code. |
existingDefs |
|
verbose |
a logical value indicating whether to ouput intermediate progress messages during the computations |
libName |
|
package |
The main purpose of this is for its side effects.
It generates S- and C-language files describing the
enumeration types, the C routines and accessors
for the data structure elements.
The different C files contain a directive to include
a file named package.h
where the value of package
is used
here. So, for example, the file
RGtk.h
is included in the different .c
files generated for the RGtk package.
Duncan Temple Lang
http://www.omegahat.org/RGtk http://www.omegahat.org/GtkAutoBindingGen http://www.gtk.org
generateCodeFiles
getDefs
genLoadClassesCode