getArgCallValues {RGtkBindingGenerator}R Documentation

Compute how the C arguments are passed to the Gtk routine

Description

This determines how the arguments in the C code for an S interface routine are passed to the underlying C routine in the definitions. Essentially this is only concerned with whether the parameter is defined as read-write and hence can return values also.

Usage

getArgCallValues(params)

Arguments

params the collection of parameters for the underlying C routine.

Details

This adds a ``&'' before the name of any parameter that is declared read-write.

Value

A character vector whose elements give the form of the variable as it is passed to the C routine. Essentially this is either the variable name itself, or a reference to the variable name (i.e. &x).

Author(s)

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

References

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

See Also

genCCode

Examples



[Package RGtkBindingGenerator version 0.3 Index]