summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* Those type-casts don't work well in C++jan.nijtmans2023-10-121-0/+2
|
* Handle Tcl_SetResult() the same way as Tcl_EventuallyFreejan.nijtmans2023-10-101-0/+3
|
* Follow-up for extensions: This way, usage of Tcl_EventuallyFree() won't give ↵jan.nijtmans2023-10-101-0/+3
| | | | warnings any more. Only do this for 8.6 and 8.7, _not_ for 9.0!
* Remove unneeded internal stub-entries (now that TIP #666 is accepted)jan.nijtmans2023-09-131-25/+13
|
* Since TCL_MAJOR_VERSION is always "8", don't check for it. Add ↵jan.nijtmans2023-06-301-8/+8
| | | | C++-compatible typecasts.
* Add one more unused stub entryjan.nijtmans2023-04-151-3/+6
|
* Don't introduce size_t in a header-file which didn't use it before. Make ↵jan.nijtmans2023-03-171-6/+6
| | | | more clear that those are unsupported internal functions.
* Add some undocumented stub functions. Those can prevent a crash like ↵jan.nijtmans2023-03-161-9/+21
| | | | [http://paste.tclers.tk/5763|this] example, when compiled with 8.7 headers but running it in Tcl 8.6.
* Fix a few -Wconversion warningsjan.nijtmans2023-03-071-1/+1
|
* Fix [1b8df10110]: Tcl_GetTime returns wrong usec value on Windowsjan.nijtmans2023-03-041-1/+1
|
* Merge 8.5jan.nijtmans2022-11-221-3/+15
|\
| * Unused stub entries up to Tcl_DStringToObj() (for Tcl 8.7/9.0)jan.nijtmans2022-11-221-3/+15
| |
* | Merge 8.5. Update to tzdata 2022fjan.nijtmans2022-10-301-9/+12
|\ \ | |/
| * One more unused stub entryjan.nijtmans2022-10-301-29/+32
| |
* | Update tzdata to 2022d. Add one more unused stub entryjan.nijtmans2022-09-261-3/+6
|\ \ | |/
| * Add some more unused stub entriesjan.nijtmans2022-09-261-3/+24
| |
* | Make TclObjInterpProc a macro (since it always should be used through ↵jan.nijtmans2022-09-221-3/+21
| | | | | | | | | | TclGetObjInterpProc()) Add some unused stub entries. Add some more type-casts to tclProc.c
* | Merge 8.5jan.nijtmans2022-05-221-3/+9
|\ \ | |/
| * 2 more unused stub entriesjan.nijtmans2022-05-221-3/+9
| |
* | boolPtr -> intPtr, since Tcl doens't use pointer to bool's (they didn't ↵jan.nijtmans2022-04-201-16/+16
| | | | | | | | exist when the API was designed)
* | Merge 8.5jan.nijtmans2022-03-221-3/+12
|\ \ | |/
| * Reserve 3 more stub entriesjan.nijtmans2022-03-221-3/+12
| |
* | Merge 8.5jan.nijtmans2022-02-231-3/+9
|\ \ | |/
| * 2 more spare stub entriesjan.nijtmans2022-02-231-3/+9
| |
* | Merge 8.5. (add some unused spare stub entries)jan.nijtmans2022-02-121-3/+27
|\ \ | |/
| * Add more spare unused stub entriesjan.nijtmans2022-02-111-3/+27
| |
* | Missing braces (just to be sure)jan.nijtmans2021-10-121-1/+1
| |
* | Fix build failure with --enable-symbols build on Windows: Some code makes ↵jan.nijtmans2021-10-121-5/+9
| | | | | | | | assumptions on Tcl_Time structure ...
* | Better solution, in stead of ↵jan.nijtmans2021-10-111-1/+14
| | | | | | | | [https://core.tcl-lang.org/tk/info/6ffcea9b093deb5a|6ffcea9b]: Handle 64-bit (Cygwin64) Tcl_GetTime(), when loading tk86.dll
* | Merge 8.5jan.nijtmans2021-08-191-3/+15
|\ \ | |/
| * Reserve a few more unused stub entriesjan.nijtmans2021-08-191-3/+15
| |
* | Change Tcl_StaticPackage's "pkgName" argument to "prefix" and improve ↵jan.nijtmans2021-03-191-2/+2
| | | | | | | | documentation, describing better what this argument does.
* | Merge 8.5. Add unused stub table entriesjan.nijtmans2021-03-041-3/+24
|\ \ | |/
| * Add some more unused entries to the stub table, keeping up with the table ↵jan.nijtmans2021-03-041-3/+24
| | | | | | | | size increase of higher Tcl versions
| * Unicode 13 has a new range of characters from 0x30000 to 0x3134A, so ↵jan.nijtmans2020-03-171-3/+6
| | | | | | | | | | generate those in the tables too. Add one reserved stub entry (Backported from 8.6)
* | TIP #581: Mainly documentation and some testcasesjan.nijtmans2020-09-041-18/+17
| |
* | New TIP #581 implementationjan.nijtmans2020-07-171-0/+3
| |
* | Rename doc/CrtSlave.3 to doc/CrtAlias.3. Some more doc tweaks.jan.nijtmans2020-07-151-2/+2
| |
* | Add one more reserved stub entry, most likely will be Tcl_GetBytesFromObj() ↵jan.nijtmans2020-03-151-3/+6
| | | | | | | | in Tcl 8.7.
* | Fix documentation, comments, and argument names of Tcl_TransferResult().dgp2020-01-051-2/+2
| |
* | Merge 8.5jan.nijtmans2019-10-151-0/+58
|\ \ | |/
| * Add more dummy stub-entries, filled with NULL. Stub table size corresponds ↵jan.nijtmans2019-10-151-3/+57
| | | | | | | | with stub table size for 8.7, encountering NULL entries is better than accessing outside of array bounds.
* | Merge-mark core-8-5-branch. jan.nijtmans2017-01-111-1/+0
|\ \ | |/ | | Remove useless #undef.
* | Decorate Tcl_Exit() and Tcl_SetExitProc()'s argument with TCL_NORETURN as ↵jan.nijtmans2015-10-081-4/+4
| | | | | | | | | | appropriate, as already done with Tcl_Panic() earlier. Fix minor msvc compiler warning in tclWinFile.c
* | Decorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further ↵jan.nijtmans2015-09-221-6/+7
| | | | | | | | optimizations by the C-compiler.
* | Fix execute permission bit (should not be set) for *Decls.h filesjan.nijtmans2014-02-111-0/+0
| |
* | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-12/+12
| | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-3/+5
|\ \ | |/ | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h and tclOODecls.h it was no problem, because tcl.h and tclOO.h already contain those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
| * Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-3/+5
| | | | | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h it was no problem, because tcl.h already contains those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
* | Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-061-0/+48
|\ \ | |/ | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.