Message224827
> 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 *"). |
|
Date |
User |
Action |
Args |
2014-08-05 13:36:17 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, zach.ware |
2014-08-05 13:36:17 | serhiy.storchaka | link | issue22136 messages |
2014-08-05 13:36:17 | serhiy.storchaka | create | |
|