Manifest of check-in
[af0f607ada]
- Put extern "C" guards around all stub table struct definitions, so it is 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.
by
jan.nijtmans on
2013-11-04 10:13:59.
B e81e8058f8ac31bc95a74668c521598b1ffce631
C Put\sextern\s"C"\sguards\saround\sall\sstub\stable\sstruct\sdefinitions,\sso\sit\sis\susable\sfor\sC++\scompilers\sas\swell\swithout\sthe\sdanger\sof\smodifying\sthe\scalling\sconvention.\s\nFor\stclDecls.h\sand\stclOODecls.h\sit\swas\sno\sproblem,\sbecause\stcl.h\sand\stclOO.h\salready\scontain\sthose\sguards.\sBut\sfor\sthe\sother\s*Decls.h\sfiles\s(e.g.\stclTomMathDecls.h)\sit\swas\snot\scorrect.
D 2013-11-04T10:13:59.357
F generic/tclDecls.h de67bf7030375317be72edaed69f1d546c2e2c09
F generic/tclIntDecls.h b4d33ce8eeb60a9db81ad4a6ad8fb13856e4a298
F generic/tclIntPlatDecls.h 29c0cb7867bfe2d4cb6bea1ded17daaf5224810b
F generic/tclOODecls.h 9ff9edaf496020f23aaaac41f4fd9ae0d764ed2d
F generic/tclOOIntDecls.h affde7ff1eb8f7179c95afe0fd584017d6b322fd
F generic/tclPlatDecls.h 219233ffedad01097133cd16d3a6a6a6694e27b4
F generic/tclTomMathDecls.h bbdd461b6506c4f192e6d7e2e9d4006098252a23
F tools/genStubs.tcl 841f8593d292e9a473dd80b2377cbf3c70a44b94
P e81e8058f8ac31bc95a74668c521598b1ffce631 e0986c290fcf472fcc0f40d9c501020df552c14e
R 0d901c8996c01bd9fe8f729db8ded5a4
U jan.nijtmans
Z 123e40d6831f2573d713eafedacf78e3