getEnumCheckDecl    package:RGtkBindingGenerator    R Documentation

_D_e_c_l_a_r_a_t_i_o_n _f_o_r _E_n_u_m_e_r_a_t_i_o_n _V_a_l_i_d_a_t_i_o_n _R_o_u_t_i_n_e

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

     Generate the C code for the declaration of the C routine that
     checks the value of an S object is valid for a particular
     enumeration type. This declaration is put in the 'package'Enum.h
     file where 'package'  is the argument to the 'generateCodeFiles'.

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

     getEnumCheckDecl(name)

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

    name: the name of the enumeration type created by calling
          'getEnumCRoutineName'.

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

     A simple string of the form 'USER_OBJECT_ <name>(USER_OBJECT_)'.

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

     Duncan Temple Lang <duncan@research.bell-labs.com>

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

     <URL: http://www.omegahat.org/RGtk>, <URL:
     http://www.omegahat.org/RGtkBindingGenerator>, <URL:
     http://www.gtk.org> <URL: http://www.pygtk.org>(?)

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

     'getEnumCheckDecl'

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

