Next: , Previous: get-g-class-definition, Up: Generating type definitions by introspection


13.9 get-g-type-definition

— Function: get-g-type-definition
     (get-g-class-definition type &optional lisp-name-package) => definition
type
A string naming the GEnum, GFlags, GInterface or GObject type
lisp-name-package
A package that will be used as a package for generated symbols (type name, accessor names). If not specified, symbols are interned in *package*
definition
A Lisp form that when evaluated defines the corresponding Lisp type.

Depending on a kind of type, calls get-g-enum-definition or get-g-flags-definition or get-g-interface-definition or get-g-class-definition.