Re: getUserData(), setUserData(...) problem in pf 2.2 ...

New Message Reply Date view Thread view Subject view Author view

Thomas M. Miller (miller++at++acusoft.com)
Wed, 27 May 1998 16:00:22 -0400 (EDT)


On Wed, 27 May 1998, Sharon Clay wrote:

> ->Hello PfWorld!
> ->
> ->I recompiled a program under 2.2 and it is failing at
> ->::getUserData() call. This call is returning a
> ->NULL pointer. This program works fine with earlier
> ->version of pf.
> ->
> ->I there a patch that I am missing? Can some PfPerson help,
> ->please.

I had the same problem. I found that they changed the userDataCall
from ::getUserData( void ) to ::getUserData( int ).With similar
things done to ::setUserData to support a list of user data.

getUserData( void ) was left as an inline function that calls
getUserData( 0 ).

setUserData( void * ) was left as an inline fuction calling
setUserData( 0, void *).

I changed all of my setUserData calls and getUserData calls
so that I don't have to go through the inline fuction. Then
I got my user data pointers back.

=======================================================================
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:57:26 PDT

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