summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-09-06 14:55:40 (GMT)
committerGitHub <noreply@github.com>2017-09-06 14:55:40 (GMT)
commit6b0ab0298045c8c24ae0ab3627915b109001194b (patch)
treeb5782e4666b8cc6fc14905e894ffa938b24668d3
parentfe02ecfc3f52c95106f195ea9ad379497e3442d8 (diff)
parent0cb740e445ce201d330797c20422d8713f364ac8 (diff)
downloadblt-6b0ab0298045c8c24ae0ab3627915b109001194b.zip
blt-6b0ab0298045c8c24ae0ab3627915b109001194b.tar.gz
blt-6b0ab0298045c8c24ae0ab3627915b109001194b.tar.bz2
Merge pull request #12 from prs-de/export-tkblt-initv3.2.8
Export Tkblt_Init and Tkblt_SafeInit symbols
-rw-r--r--generic/tkbltInt.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkbltInt.C b/generic/tkbltInt.C
index 5e9dde7..3f9c3ac 100644
--- a/generic/tkbltInt.C
+++ b/generic/tkbltInt.C
@@ -32,8 +32,8 @@
using namespace std;
extern "C" {
-Tcl_AppInitProc Tkblt_Init;
-Tcl_AppInitProc Tkblt_SafeInit;
+DLLEXPORT Tcl_AppInitProc Tkblt_Init;
+DLLEXPORT Tcl_AppInitProc Tkblt_SafeInit;
};
Tcl_AppInitProc Blt_VectorCmdInitProc;
@@ -41,7 +41,7 @@ Tcl_AppInitProc Blt_GraphCmdInitProc;
#include "tkbltStubInit.c"
-int Tkblt_Init(Tcl_Interp* interp)
+DLLEXPORT int Tkblt_Init(Tcl_Interp* interp)
{
Tcl_Namespace *nsPtr;
@@ -68,7 +68,7 @@ int Tkblt_Init(Tcl_Interp* interp)
return TCL_OK;
}
-int Tkblt_SafeInit(Tcl_Interp* interp)
+DLLEXPORT int Tkblt_SafeInit(Tcl_Interp* interp)
{
return Tkblt_Init(interp);
}