pfDelete....

New Message Reply Date view Thread view Subject view Author view

Nils Thune (thune++at++cmr.no)
Sat, 12 Feb 1994 15:10:50 +0100


Part of my scene consist of a pfGeode with a gset. The vertices, colors and
normals in the gset has been allocated with pfMalloc(..., NULL); and added to
the gset with pfGSetAttr(...);

When I call pfDelete(myGeode); will it deallocate the gset itself and all the
memory used by the user supplied vertices, colors and normals (allocated by
pfMalloc(...), and hence should have a ref count)?

Or, do I have to add a pfDeleteFunc to gset which then should delete verices,
etc.?

- Nils

--------------------------------
Nils Thune
Advanced Computing
Christian Michelsen Research
Fantoftvegen 38
N-5036 Fantoft, Bergen, Norway
Email: thune++at++cmr.no
Phone: 55 574040
Phone: 55 574355 (Direct)
Fax : 55 574041
--------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:10 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.