Skip to content
Tcl Source Code Artifact [840f082ab6]
Login

Artifact [840f082ab6]

Artifact 840f082ab6a5cd6b0263ba0822c75baa75c5bd9e:

Ticket change [840f082ab6] - Ticket [1711975fffffffff|1711975fff] <i>Tcl_MainEx() (like Tk_MainEx())</i> status still Open with 4 other changes by nijtmans on 2010-07-02 15:52:03.
D 2010-07-02T15:52:03
J icomment Thinking\smore\sabout\sit,\sI\swas\swrong\sin\sstating\nthat\sTcl_MainEx\sshould\sbe\sin\sthe\sstub\stable,\sjust\nlike\sTk_MainEx.\sThere\sare\s4\sfunctions\sin\sTk\swhich\nare\sonly\smeant\sto\sbe\scalled\sfrom\stkAppInit.c,\nnever\sfrom\sstub-enabled\sextensions.\sThose\sare:\nTk_MainEx,\sTk_Init,\sTk_SafeInit\sand\nTk_CreateConsoleWindow.\sIf\sthey\sare\nused\sin\sa\sstub-enabled\sextension,\sthe\nauthor\ssurely\smisunderstands\sthose\nfunction.\sSo,\sit\swould\sbe\sbetter\nto\sremove\sthose\s4\sfrom\sthe\sstub\ntable,\sor\s-\sat\sleast\sdisable\sthem\s-\nso\sextension\sauthors\scannot\smake\nthis\smistake.\n\nFor\sTcl,\sthe\ssame\sholds\sfor\sTcl_Main\nand\sTcl_FindExecutable,\sthe\slatter\nshould\snever\shave\sbeen\sput\sin\sthe\nstub\stable!\n\nThis\smeans,\sthat\sit\smakes\syour\sidea\nof\smaking\sTcl_MainEx\sand\sTk_MainEx\nfunction\sthe\ssame\sless\susefull.\sFor\sTk,\nTk_Main\sis\sa\smacro,\sshould\sTcl_Main\nmade\sa\smacro\sas\swell?\sYou\swant\nto\sextend\sinterp\sbefore\sthe\smainloop\nstarts,\sbut\sthe\sappinitproc\sis\salready\ncalled\sbefore\sthe\smain\sloop\sstarts.\nSo,\swhat's\sthe\sadded\svalue?\sI'm\nnot\ssure\sany\smore.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 1711975fffffffffffffffffffffffffffffffff
U nijtmans
Z e0c3cf54b2b9bc9a8a95500cfe1910a6