genCode         package:RGtkBindingGenerator         R Documentation

_C_r_e_a_t_e _t_h_e _R _a_n_d _C _c_o_d_e _f_o_r _a _s_e_t _o_f _d_e_f_i_n_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     genCode(defs = getDefs(), filePrefix = "gtk", dir = "/tmp", existingDefs = NULL, verbose = FALSE, libName = filePrefix, package = "RGtk")

_A_r_g_u_m_e_n_t_s:

    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: 

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.omegahat.org/RGtk> <URL:
     http://www.omegahat.org/GtkAutoBindingGen>   <URL:
     http://www.gtk.org>

_S_e_e _A_l_s_o:

     'generateCodeFiles' 'getDefs' 'genLoadClassesCode'

_E_x_a_m_p_l_e_s:

