Philip Nemec (nemec++at++precious.asd.sgi.com)
Mon, 9 Jun 1997 16:46:17 -0700
/usr/share/Performer/src/lib/libpfdb/libpfpfb/
This is in the subsystem performer_dev.src.loader...
>From the .pfb README:
> - pfUserData is only saved if it is allocated with pfMalloc(). This is
> because it is only through pfGetSize that the size of the user data
> can be known.
The .pfb storing function just gets the size and saves that much data... The
brief solution is to change the data stored in pfUserData to not include
pointers.
In other words pack in all the things pointed to (in your case a pfNode and a
pfList of ...) and unpack them as desired.
The other solution is to take a look at the pfdUserData_pfb function... This
allows you to give your own descend function, store function, and/or load
function... Take a look at pfpfb.c and code away. :)
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
SGI DevForum 97 info: http://www.sgi.com/Forum97/
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:25 PDT