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


5.2 dumpable trait: operations

Function: ccstructs_dumpable_T ccname_new(ccstructs_dumpable_T) (ccstructs_core_t const * S, ccname_trait_table_type(ccstructs_dumpable_T) const * M)

Trait constructor. Return a new trait struct given a pointer to the source struct and a pointer to the trait methods.

Function: ccstructs_core_t const * ccstructs_dumpable_self (ccstructs_dumpable_T I)

Return a pointer to the struct to which the trait belongs.

Function: void ccstructs_dumpable_dump (cce_destination_t L, ccstructs_dumpable_T I)

Apply the method dump() to the struct. If an error occurs: raise an exception by performing a non–local exit to L.


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

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