Skip to content
Tcl Source Code Artifact [ce6a8add89]
Login

Artifact [ce6a8add89]

Artifact ce6a8add89390d8f8687d89bde85e66ac5a2733a:

Ticket change [ce6a8add89] - New ticket [219291ffffffffff|219291ffff] <i>Support for Linking Tcl Variables and C Variables Containing</i>. by nobody on 2000-10-26 05:10:05.
D 2000-10-26T05:10:05
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2275\sRFE\nVersion:\s8.0.4\nSubmitDate:\s'1999-06-21'\nLastModified:\s'2000-10-25'\nSeverity:\sLOW\nStatus:\sUnAssn\nSubmitter:\stechsupp\nOS:\sSolaris\nOSVersion:\s2.7\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nDonal\sK.\sFellows\n\nComments:\nThis\scode\shas\sbeen\stested\sand\sfound\sto\swork\sfine\son\sSolaris\s(various\n\s\s\s\sversions,)\sSunOS\s4.1\s(where\sit\swas\sdeveloped)\sand\sLinux\s(various\n\s\s\s\sversions)\n\nDesiredBehavior:\nThis\senhancement\sto\sthe\sgeneral\smechanism\sfor\slinking\sTcl\sand\sC\n\s\s\s\svariables\sallows\scode\sthat\swishes\sto\slink\san\sinternal\svariable\sthat\n\s\s\s\scontains\sa\sreference\sto\sa\sTcl_Obj\sstructure\sto\sthe\sgeneral\sTcl-level\n\s\s\s\sinterface\sto\sdo\sso\sfar\smore\sefficiently.\s\sIn\sparticular,\sit\sprevents\sthe\n\s\s\s\s(sometimes\ssignificant)\sdegradation\sin\sperformance\sthat\swould\sotherwise\n\s\s\s\sbe\snecessary\sif\sa\sscheme\sbased\son\sthe\sstandard\sTcl_LinkVar()\sbehaviour\n\s\s\s\swas\sused\s(which\swould\sbe\sdue\sto\sthe\sconversion\sbetween\sstrings\sand\n\s\s\s\svalues)\sand\scan\sefficiently\scope\swith\sany\sobjects\sa\sprogrammer\smay\swish\n\s\s\s\sto\spass.\n\s\s\s\s\n\s\s\s\sThe\schanges\sthat\sI've\smade\sare\scurrently\sstructured\sas\sbeing\sin\sseparate\n\s\s\s\sfiles,\sand\sas\ssuch\sthey\shave\sno\sgeneral\simpact\supon\sthe\srest\sof\sTcl.\n\s\s\s\sIntegrating\sthem\sshould\sbe\sa\sbreeze\s(apart\sfrom\swriting\sthe\n\s\s\s\sdocumentation\sand\stest\ssuite\s<sigh>)\n\s\s\s\s\n\s\s\s\sAs\sthe\scode\shas\sbeen\sin\sserious\suse\sfor\saround\s2\syears\snow\s(as\spart\sof\sa\n\s\s\s\sscheme\sto\slink\sproperties\sof\sobjects\sto\sTcl\svariables\sso\sthey\scan\sbe\n\s\s\s\sjoined\sto\sTk\sentry\swidgets\sin\san\sOO\sscheme\sI'm\susing\sin\san\sapplication\n\s\s\s\sI'm\sworking\son,)\sI\sfully\sexpect\sit\sto\sbe\sfree\sof\sbugs.\s\sIn\sparticular,\n\s\s\s\sthe\scode\shas\sno\sinternal\smemory\sleaks\s(when\sused\scorrectly,\sof\scourse)\n\s\s\s\sand\snor\sdoes\sit\sleak\sreferences\sor\scause\sanything\sto\sget\sfreed\sto\searly\n\s\s\s\s(which\swas\sthe\ssource\sof\smany\swierd\sbugs,\sadmittedly...)\n\s\s\s\s\n\s\s\s\sMy\simplementation\sof\sthe\sabove\sfeature\s(I\semphasize\sthat\sthis\sis\s*not*\sa\n\s\s\s\spatch)\sand\ssome\sminimalist\sdocumentation\sis\savailable\sat:\n\s\s\s\s\s\s\shttp://www.cs.man.ac.uk/~fellowsd/tcl/#scripts/linkObj\n\s\s\s\s\n\s\s\s\sI\sdo\snot\sclass\sthis\srequest-for-enhancement-inclusion\sas\sa\sshow-stopper\n\s\s\s\sat\sall,\ssince\sI\shave\sto\suse\senhanced\sinterpreters\sin\sany\scase\s(there\sis\n\s\s\s\sthe\srest\sof\sthe\sOO\scode,\sand\ssome\sproprietory\sdisplay\senhancements,\sall\n\s\s\s\sof\swhich\sare\sabsolute\snecessities\sat\sthe\smoment.)\n\n\n\n
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 07.\sVariables
J title Support\sfor\sLinking\sTcl\sVariables\sand\sC\sVariables\sContaining
J type RFE
K 219291ffffffffffffffffffffffffffffffffff
U nobody
Z dd99065df9b2f14fa43e1cbbbe471446