Re: Q: How to use pfList

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.asd.sgi.com)
Thu, 15 May 1997 09:55:32 -0700


+>---- On May 15, 6:22pm, Byungsung Cho wrote:
> Subject: Q: How to use pfList
->
->Hi!
->
->I am a beginner in Performer programming.
->I am trying to use pfList class to build a list of a class.
->Using
-> pfList::pfList(int eltSize, int listLength)
->I initialized a list and tried to add an item to the list using
-> pfList::add(void* elt).
->But I got a segmentation error message. I cannot figure out why

What was the error?
pfLists can only handle an elt size of sizeof(void*).

->and Performer manuals don't seem to have any sample code on using
->pfList. Can somebody give me a pointer to a sample program
->or short sample code on how to use pfList?

You might check out pfguide/libpr/C/texlist.c.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

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:55:14 PDT

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