Tcl Source Code

Artifact [4038c2e42d]
Login

Artifact 4038c2e42d3a8acec76afafb1916545973f77aa83b02e9e6d30f26c0b041b0a5:

Ticket change [4038c2e42d] - Ticket [4663e0636f] TIP 538 and Tcl extensions: 'tommath.h' file not found status still Open with 3 other changes by mr_calvin 2020-05-19 10:38:56.
D 2020-05-19T10:38:56.882
J icomment Thanks\sfor\staking\sthe\stime\sto\sdiscuss\swith\sme.\s:)\r\n\r\n>\sSince\slibtommath\sis\snow\san\sexternal\slibrary,\sjust\sas\szlib.\r\n\r\nI\ssee\sthat,\sbut\san\simportant\sdifference\sbetween\slibtommath\sand\szlib\sis,\sthough,\sTcl's\spublic\sAPI\sdoes\snot\sexpose\snative\sdata\stypes\sof\szlib\s(z_stream)\sdirectly,\sbut\sproper\swrappers\s(Tcl_ZlibStream).\sThis\sis\sdifferent\sfor\slibtommath\s(mp_int).\sThere\sis\sno\sTcl_MpInt,\sunfortunately.\r\n\r\n>\swhy\swould\syou\sstill\swant\sto\sbuild\sa\sstripped-down\sversion\sinto\sTcl????\r\n\r\nThis\sdoes\snot\sapply\sto\sNSF,\stwapi\sand\sothers\s(as\sproper\sTcl\sextensions),\sbut\sI\smight\swant\sto\suse\sTcl\sas\smy\sC\sutility\slibrary\sof\schoice\s(Tcl\sis\sheavily\sunderestimated\sin\sthis\srole),\smaybe,\sand\swhy\sthen\sentertain\stwo\sdependencies\sif\sI\scould\sjust\swork\swith\sone\s=\sTcl\swith\sinternal\slibtommath?\r\n\r\n>\sI\scould\simagine\sTEA\sproviding\sa\sTEA_TOMMATH\smacro\r\n\r\nThat\swould\scertainly\shelp,\sand\swas\sactually\swhat\sI\smeant\sby\smy\s-I\srumbling\sin\sthe\searlier\spost.\r\n\r\nNevertheless,\sI\sagree\sthat\sdirectly\sdepending\son\stommath.h\sis\slikely\sto\sbest\sstep\sfor\sNSF,\stwapi\setc.\sbut\sit\sdoes\snot\sfeel\sright\sre\sTcl's\spublic\sAPI\sexposing\slibtommath\sdata\stypes\sdirectly\s(so\sinjecting\sa\sdependency\swith\sTEA\shelping\swith\sit).\r\n\r\nI\shope\sI\scould\smake\smy\spoint\sclearer?\r\n\r\nThanks\sfor\syour\scontinued\ssupport!
J login mr_calvin
J mimetype text/plain
K 4663e0636f7a24b9363e67c7a3dd25e9e495be17
U mr_calvin
Z 6b7bd241600980fbe47ae24a6e561db7