Debian Codegraph @

src/doc/manual/standards/structures.txi

raw
1 @node Structures
2 @section Structures
3
4 @subsection Redefining a defstruct structure
5
6 @ansi{} says that consequences of redefining a @code{defstruct} are
7 undefined. ECL defines this behavior to signal an error if the new
8 structure is not compatible. Structures are incompatible when:
9
10 @table @asis
11 @item They have a different number of slots
12 This is particularly important for other structures which could have
13 included the current one and for already defined instances.
14
15 @item Slot name, type or offset is different
16 Binary compatibility between old and new instances.
17 @end table
18
19 @subsection C Reference
20
21 @subsubsection ANSI Dictionary
22 Common Lisp and C equivalence
23
24 @multitable @columnfractions .3 .7
25 @headitem Lisp symbol @tab C function
26 @item @clhs{f_cp_stu.htm,copy-structure} @tab cl_object cl_copy_structure(cl_object structure)
27 @end multitable