summaryrefslogtreecommitdiffstats
path: root/generic/tclNRE.h
Commit message (Collapse)AuthorAgeFilesLines
* tclNRE.h die die diedas2008-07-311-0/+0
|
* Dumped tclNRE.h's contents into tclInt.h. The file is now empty andMiguel Sofer2008-07-311-91/+0
| | | | | | unrefernced everywhere but in macosx/Tcl.xcodeproj/project.pbxproj: some knowledgeable maintainer please remove tclNRE.h after making sure it doesn't break the build on macosx
* a timid start at cleaning upMiguel Sofer2008-07-291-14/+7
|
* * generic/tclBasic.c: Made use of the thread's alloc cacheMiguel Sofer2008-07-291-4/+4
| | | | | | | | | * generic/tclInt.h: stored in the ekeko at interp creation * generic/tclNRE.h: to avoid hitting the TSD each time an * generic/tclThreadAlloc.c: NRE callback is pushed or pulled; the approach is suitably general to extend to evry other obj allocation where an interp is know; this is left for some other time, requires a lot of grunt work.
* fix macroMiguel Sofer2008-07-291-2/+2
|
* Completely revamped NRE implementation, with (almost) unchanged API.Miguel Sofer2008-07-291-197/+18
|
* * generic/tcl.decls: Changed the implementation ofMiguel Sofer2008-07-211-9/+6
| | | | | | | | | | * generic/tclBasic.c: [namespace import]; removed * generic/tclDecls.h: Tcl_NRObjProc, replaced with * generic/tclExecute.c: Tcl_NRCmdSwap (proposed public * generic/tclInt.h: NRE API). This should fix * generic/tclNRE.h: [Bug 582506]. * generic/tclNamesp.c: * generic/tclStubInit.c:
* * generic/tclBasic.c: NRE: enabled calling NR commandsMiguel Sofer2008-07-211-12/+2
| | | | | | | | * generic/tclExecute.c: from the callbacks. Completely * generic/tclInt.h: redone tailcall implementation * generic/tclNRE.h: using the new feature. * generic/tclProc.c: * tests/NRE.test:
* new TclNRAddCallback macro for internal use instead of the publicMiguel Sofer2008-07-181-1/+27
| | | | Tcl_NRAddCallback
* * generic/tcl.decls: Change the public api prefix fromMiguel Sofer2008-07-181-4/+4
| | | | | | | | | | | | | | | | | * generic/tcl.h: TclNR_foo to Tcl_NRfoo * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclInterp.c: * generic/tclNRE.h: * generic/tclNamesp.c: * generic/tclOO.c: * generic/tclOOBasic.c: * generic/tclOOCall.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclStubInit.c:
* Store ClientDatas in NRE callback storage as an array; that's how they aredkf2008-07-141-5/+2
| | | | referred to in callback implementations anyway.
* added new files generic/tclNRE.h and tests/NRE.testMiguel Sofer2008-07-131-0/+267