Skip to content
Tcl Source Code Artifact [0419203b11]
Login

Artifact [0419203b11]

Artifact 0419203b116a514ca6a6ca6f1b17070ebd43b6e7:

Manifest of check-in [0419203b11] - * generic/tclStubInit.c: * generic/tclDecls.h: * generic/tcl.decls: added Tcl_SetMainLoop proc that allows people to set a main loop that will run for tclsh. * generic/tcl.h: added Tcl_MainLoopProc typedef * generic/tclMain.c (Tcl_SetMainLoop, StdinProc, Prompt): new StdinProc and Prompt static procs and Tcl_SetMainLoop stubs proc. The first two handle a fileevent based prompt (taken from tkMain.c). Tcl_SetMainLoop enables the interactive setting of a main loop procedure. This enables Tk to be a loadable package. by hobbs on 2000-11-03 18:46:09.
B 658246cf092575f159df6c445f79c42be846da12
C \t*\sgeneric/tclStubInit.c:\n\t*\sgeneric/tclDecls.h:\n\t*\sgeneric/tcl.decls:\sadded\sTcl_SetMainLoop\sproc\sthat\sallows\speople\n\tto\sset\sa\smain\sloop\sthat\swill\srun\sfor\stclsh.\n\t*\sgeneric/tcl.h:\sadded\sTcl_MainLoopProc\stypedef\n\t*\sgeneric/tclMain.c\s(Tcl_SetMainLoop,\sStdinProc,\sPrompt):\snew\n\tStdinProc\sand\sPrompt\sstatic\sprocs\sand\sTcl_SetMainLoop\sstubs\sproc.\n\tThe\sfirst\stwo\shandle\sa\sfileevent\sbased\sprompt\s(taken\sfrom\n\ttkMain.c).\s\sTcl_SetMainLoop\senables\sthe\sinteractive\ssetting\sof\sa\n\tmain\sloop\sprocedure.\s\sThis\senables\sTk\sto\sbe\sa\sloadable\spackage.\n
D 2000-11-03T18:46:09
F ChangeLog 38e0554862ced77b7967f05f3cbb9b9b27664401
F generic/tcl.decls bf83316aa2c0e81b5a0683ab58ad06b0be73284c
F generic/tcl.h 95838011eadae90ecba40c2abbc03f099c7474b2
F generic/tclDecls.h 8c872b0109f8c1c26512d6f834c8251c70d9d23f
F generic/tclMain.c 216410754e373291f851334856c79b69b4e670fa
F generic/tclStubInit.c 4b75f26424610fb34990995bcbf39463e207fa60
P 658246cf092575f159df6c445f79c42be846da12
U hobbs
Z 07be7d65eb3d3c5d8b4e883d84c50fc8