Next: , Previous: define-boxed-opaque-accessor, Up: GBoxed


12.6 boxed-related-symbols

— Function: boxed-related-symbols
     (boxed-related-symbols name) => symbols
name
A symbol naming the boxed type
symbols
A list of symbols

This function returns the list of symbols that are related to GBoxed type name. These symbols are returned:

Typical usage of this function is to export the symbols related to given boxed type.

Example:

     (define-g-boxed-cstruct rectangle "GdkRectangle"
       (x :int :initform 0)
       (y :int :initform 0)
       (width :int :initform 0)
       (height :int :initform 0))
     
     (boxed-related-symbols 'rectangle)
     =>
     (RECTANGLE MAKE-RECTANGLE COPY-RECTANGLE RECTANGLE-X RECTANGLE-Y
      RECTANGLE-WIDTH RECTANGLE-HEIGHT)