.
D 2005-02-03T10:54:28
J icomment Logged\sIn:\sYES\s\nuser_id=1210132\n\nThe\swatcom\scompiler\scomplained\sabout\nTcl_StaticPackage/Tcl_PackageInitProc\sbut\snot\nTcl_CreateCommand/Tcl_CmdProc\sbecause\sTk_Init\swas\sused\sas\san\nargument\sto\sTcl_StaticPackage,\sand\sTk_Init\sis\sdeclared\nelsewhere\sin\sthe\sTk\sheader\sfiles\swith\sa\sdifferent\stype.\n\nHowever,\son\sreflection,\sI\sthink\sall\sthe\sTcl_*Proc\stypedef's\nshould\sinclude\ssome\sstorage\sclass\sinfo.\s\sThe\swatcom\scompiler\ndidn't\scomplain\sabout\sthese\sbecause\sthese\stypedefs\sare\snot\nbeing\sapplied\sto\sfunctions\sdeclared\sinside\sthe\sTcl\slibrary,\nbut\srather\sto\suser\scode.\s\sBut,\sthe\sTcl\slibrary\sis\sgoing\sto\nmake\scalls\sinto\sthese\sfunctions,\sand\sit\swas\sbuilt\swith\ncertain\sassumptions\sabout\sthe\scalling\sconvention\sfor\sthese\nuser\sdefined\sfunctions.\s\sSo\sit\sseems\sthat\sinformation\sshould\nbe\sincluded\sin\sall\sthe\sTcl_*Proc\stypedefs.\n\nMaybe\sone\sshouldn't\suse\sthe\sTCL_STORAGE_CLASS\smacro\shere,\nsince\sthese\sare\sfunctions\soutside\sthe\sTcl\slibrary,\sbut\ninstead\sdefine\sa\snew\smacro,\ssomething\slike\nFOREIGN_STORAGE_CLASS.\s\sThis\snew\smacro\swould\s*not*\sinclude\nthe\sdllimport/dllexport\squalifiers\sfound\sin\nTCL_STORAGE_CLASS,\sbut\swould\sinclude\sthings\slike\scdecl.\s\sIn\nthis\sregard,\scheck\sout\sthe\scomment\spreceding\sthe\sdefinition\nof\sTcl_AppInit\snear\sthe\sbottom\sof\stcl.h.\n
J login mjdonahue
J mimetype text/plain
J username mjdonahue
K 1104873fffffffffffffffffffffffffffffffff
U mjdonahue
Z 1297de48ce4856953730a28eacfc5387