Next: , Up: dumpable   [Contents][Index]


5.1 dumpable trait: type definitions

Struct Typedef: ccstructs_dumpable_T

Type of the dumpable trait. Instances of this type are meant to be handed by value to function calls.

Struct Typedef: ccname_trait_table_type(ccstructs_dumpable_T)

Type of methods table for the dumpable trait. It has the following fields:

ccname_trait_method_type(ccstructs_dumpable_T, dump) * dump

Pointer to function implementing the dump() method.

Function Prototype: void ccname_trait_method_type(ccstructs_dumpable_T, dump) (cce_destination_t L, ccstructs_dumpable_T I)

Type of functions implementing the dump() method. Functions of this type write a representation of the object to an output channel (for example stderr); it is responsibility of this method to select which output channel to use. If an error occurs: raise an exception by performing a non–local exit to L.


Next: , Up: dumpable   [Contents][Index]

This document describes version 0.3.0-devel.3 of CCStructs.