summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2025-06-27 10:50:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2025-06-27 10:50:43 (GMT)
commit3e78f23412a2bd1654ad40c85c4e4398986e8074 (patch)
treee28b55442f93c0291927f79db72e141ef7a41521 /generic/tclTest.c
parent38ebfdf672a37bc2bf1de7f9a0db8ce651c59a5c (diff)
parent7128c54a02b3dda1c0063875a0c7abdbb7794c99 (diff)
downloadtcl-core-compile-uplevel.zip
tcl-core-compile-uplevel.tar.gz
tcl-core-compile-uplevel.tar.bz2
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 2e578dd..1307907 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -41,8 +41,14 @@
/*
* Declare external functions used in Windows tests.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
DLLEXPORT int Tcltest_Init(Tcl_Interp *interp);
DLLEXPORT int Tcltest_SafeInit(Tcl_Interp *interp);
+#ifdef __cplusplus
+}
+#endif
/*
* Dynamic string shared by TestdcallCmd and DelCallbackProc; used to collect