Skip to content
Tcl Source Code Artifact [c1ea92758a]
Login

Artifact [c1ea92758a]

Artifact c1ea92758a435d9225b29e2d0cd50c85ad4d87a3:

Ticket change [c1ea92758a] - Ticket [580433ffffffffff|580433ffff] <i>CONST prototypes in 8.4.</i> status still Open with 4 other changes by dgp on 2002-07-16 06:41:59.
D 2002-07-16T06:41:59
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n\nHere's\sa\spatch\sthat\saddresses\sthe\sissue.\n\nApply\sthe\spatch,\s`make\sgenstubs`,\sand\sinstall.\nThe\sresulting\sheaders\swill\sbe\sconfigurable\s\nlike\sso:\n\n#define\sUSE_NON_CONST\n\nwill\sdisable\sall\snew\sCONSTs\sthat\scause\sany\nkind\sof\ssource\sincompatibility\swith\sTcl\s8.3.\nThis\sis\sthe\s"#define\s&\sgo"\soption.\n\n#define\sUSE_COMPAT_CONST\n\nthis\sdoes\swhat\sUSE_NON_CONST\nused\sto\sdo\s--\sdisables\sonly\sthose\snew\nCONSTs\sthat\swould\sotherwise\sforce\none\sto\ssupport\sonly\s8.4\sand\sup.\n\nWith\sneither\sof\sthose\sdefined,\sthe\nheader\swill\ssupply\sthe\sdocumented\nTcl\s8.4\sinterfaces.\n\nThe\spatch\salso\sCONSTifies\sa\sfew\smore\nAPIs\s--\snotably\sthe\sTcl_CmdProc\stypedef.\nNow\sthat\sUSE_NON_CONST\soffers\sa\sway\nto\scompletely\savoid\sthe\schanges,\sthere's\sno\nreason\sto\sdelay\sthe\sreally\stough\sone.\n\nNote\sthat\sTk,\slike\sother\sextensions,\nwill\sneed\smodifications\sto\suse\sthe\nfeatures\sof\sthis\spatch.\n\nPlease\stry\sand\scomment.\n
J login dgp
J mimetype text/plain
J username dgp
K 580433ffffffffffffffffffffffffffffffffff
U dgp
Z ff713afcfff0a05c769b91332fd218b1