This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients loewis, serhiy.storchaka, zach.ware
Date 2014-08-05.13:36:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <2359389.zSShm7Ppg6@raxxla>
In-reply-to <1407237813.25.0.742666811013.issue22136@psf.upfronthosting.co.za>
Content
> Serhiy: See
> http://svn.python.org/projects/external/tcl-8.6.1.0/generic/tclDecls.h
> where it now is
> EXTERN CONST86 Tcl_ObjType * Tcl_GetObjType(const char *typeName);

Oh, my fault. I did not notice that my tcl workspace was switched to 8.3 
branch.

> I think the patch is wrong as it stands, as "const" is not a reserved word
> in C89.

"const" was introduced in ANSI C (aka C89) and it is reserved word. The patch 
is correct because even if Tcl_GetObjType() returns "Tcl_ObjType *", the 
result is compatible with "Tcl_ObjType const *" (or "const Tcl_ObjType *").
History
Date User Action Args
2014-08-05 13:36:17serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, zach.ware
2014-08-05 13:36:17serhiy.storchakalinkissue22136 messages
2014-08-05 13:36:17serhiy.storchakacreate