--- Igor Pechtchanski wrote:

> On Wed, 19 Jan 2005, Patrick Samson wrote:
> 
> >
> > From a working source of Postgresql:
> >
> > static int pltcl_elog(ClientData cdata, Tcl_Interp
> *interp,
> >                int argc, CONST84 char *argv[]);
> >                              ^^^^^^^
> >
> > I'm pretty confident that CONST84 is #defined as
> CONST in tcl.h
> 
> ...which expands to "const" in the final sources:
> 
> $ echo '#include <tcl.h>' | gcc -E - | grep
> '^typedef int (Tcl_CmdProc)'
> typedef int (Tcl_CmdProc) (ClientData clientData,
> Tcl_Interp *interp, int argc, const char *argv[]);
> 
> And your point was?..
>       Igor

You're right.
I just wanted to inform that the CONST84 may be
a better syntax (according to the postgresql sample,
but it may be only a particular case, I don't know
other examples).
I should have be more precise with:
by default CONST84 expands to CONST, but with
possible additional define's, it may expand to
nothing.


        
                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to