summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMathDecls.h
diff options
context:
space:
mode:
authordas <das>2008-04-02 21:30:03 (GMT)
committerdas <das>2008-04-02 21:30:03 (GMT)
commitb8976fa1042002dfdf6692b7ae8b215423087d24 (patch)
tree493cf76e04c6f1a9654735af98eaafeff8d06b07 /generic/tclTomMathDecls.h
parent039faefdd7231c1ffac3a2f89d3fe4d9ca05049c (diff)
downloadtcl-b8976fa1042002dfdf6692b7ae8b215423087d24.zip
tcl-b8976fa1042002dfdf6692b7ae8b215423087d24.tar.gz
tcl-b8976fa1042002dfdf6692b7ae8b215423087d24.tar.bz2
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h:
Diffstat (limited to 'generic/tclTomMathDecls.h')
-rw-r--r--generic/tclTomMathDecls.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/generic/tclTomMathDecls.h b/generic/tclTomMathDecls.h
index d12f199..094b1e5 100644
--- a/generic/tclTomMathDecls.h
+++ b/generic/tclTomMathDecls.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTomMathDecls.h,v 1.3 2008/04/01 16:23:42 dgp Exp $
+ * RCS: @(#) $Id: tclTomMathDecls.h,v 1.4 2008/04/02 21:30:04 das Exp $
*/
#ifndef _TCLTOMMATHDECLS
@@ -455,7 +455,7 @@ EXTERN int TclBN_s_mp_sub (mp_int* a, mp_int* b, mp_int* c);
typedef struct TclTomMathStubs {
int magic;
- struct TclTomMathStubHooks *hooks;
+ CONST struct TclTomMathStubHooks *hooks;
int (*tclBN_epoch) (void); /* 0 */
int (*tclBN_revision) (void); /* 1 */
@@ -521,15 +521,7 @@ typedef struct TclTomMathStubs {
} TclTomMathStubs;
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-extern TclTomMathStubs *tclTomMathStubsPtr;
-#ifdef __cplusplus
-}
-#endif
-
+EXTERN CONST TclTomMathStubs *tclTomMathStubsPtr;
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)