Benedikt Kessler (bjk++at++munich.sgi.com)
Tue, 26 Oct 1999 09:27:19 +0200
Make it more simple: after alocating a NamedUserDataSlot (as you did
already), just attach your data using pfUserDataSlot(pfObject *obj, int
slot, void *data);
my_data = pfMalloc(sizeof(...), pfGetSharedArena());
Store your data in my_data...
pfUserDataSlot(pfObject *obj, my_data_slot, my_data);
Then simply save it.
Bye! Benedikt
-- +---------------------------------+----------------------------------+ |Benedikt J. Kessler | Silicon Graphics GmbH | |Professional Services | Am Hochacker 3 - Technopark | |SGI | 85630 Grasbrunn-Neukeferloh, FRG | | --- __o ,__o | | | ------_ \<,_ _-\_<, | Phone: (+int) 89 46108-366 or -0 | |----- (*)/ (*) (*)/'(*) | Fax: (+int) 89 46107-366 | +---------------------------------+----------------------------------+ |E-Mail: bjk++at++sgi.com Web (private): http://reality.sgi.com/bjk | | Web: http://www.sgi.de/dienstleistungen/ | +--------------------------------------------------------------------+
This archive was generated by hypermail 2.0b2 on Tue Oct 26 1999 - 00:28:02 PDT