manpagez: man pages & more
info guile
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.7.9 Structures

A structure is a first class data type which holds Scheme values or C words in fields numbered 0 upwards. A vtable represents a structure type, giving field types and permissions, and an optional print function for write etc.

Structures are lower level than records (see section Records) but have some extra features. The vtable system allows sets of types be constructed, with class data. The uninterpreted words can inter-operate with C code, allowing arbitrary pointers or other values to be stored along side usual Scheme SCM values.

This document was generated on February 3, 2012 using texi2html 5.0.

© 2000-2018
Individual documents may contain additional copyright information.