cbdata doco

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sat, 6 Jan 2001 10:36:01 +1100

Well,
    It wasn't quite enough: What I was looking for in terms of doco on the *new stuff* is something like the below (which I've
puzzled out - I may have it wrong)

===
To use cbdata now, one must

initalise the cbdatatype by either
*add a entry to the cbdata_type enum,
*add a call to CREATE_CBDATA in cbdataInit

or for dynamically registered types.
* insert the macro CBDATA_TYPE(type) in a source file to register the type.
* call CBDATA_INIT_TYPE(type) in a source file to initialise the type.

From then on , use CBDATA_ALLOC rather than MEM_ALLOC + cbDataAdd.
===
Received on Fri Jan 05 2001 - 16:25:02 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:10 MST