Hansong Zhang (zhangh++at++cs.unc.edu)
Thu, 28 Nov 1996 10:37:46 -0500 (EST)
The same thing can be done to non-static member functions, also.
But you need a explicit type conversion:
chan->setTravFunc( PFTRAV_DRAW, (pfChanFuncType)MyClass::DrawChannel );
You'll still get an warning about this conversion, but you could
ignore that...
Hansong
-------------------------------------------------------------
Hansong Zhang \ zhangh++at++cs.unc.edu
Walkthrough Group \ http://www.cs.unc.edu/~zhangh
Department of Computer Science \ (919)962-1835 (O)
UNC-Chapel Hill \ (919)914-3973 (H)
"I create abstract systems from pure information, Albert. I'm
a *programmer*... Quantum nonlocality is a bug." -- God
-------------------------------------------------------------
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:02 PDT