Re: trivial syntax question...

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.asd.sgi.com)
Thu, 15 May 1997 10:58:20 -0700 (PDT)


Charlie H. Chang wrote:
>
> Hi,
> In Performer code, sometimes I will see code segment like:
>
> (channel, data);
> pfCull();
>
> or simply:
>
> (data);
>
> Where "data" is type - void, and "channel" is type - pfChannel.
> What do they mean, and what do they do?
> Thank you in advance!
>
 if you declare a function with some parameters, and do not
 use the parameters you get a warning from the compiler.

 If you want to say "I know I am not using these parameters,
 and it is OK" to the compiler, then you use this notation.

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
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.