summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLibCompat.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-29 17:25:59 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-29 17:25:59 (GMT)
commit02e5732cffb9d23e1ea6612ee37c19a88e4891f2 (patch)
tree8535eb93a572ab5c35690209d53b8ea1ccc020c2 /generic/tclStubLibCompat.c
parent2e19edb3f50478006b2377ebbc196889331ef53c (diff)
downloadtcl-novem_review.zip
tcl-novem_review.tar.gz
tcl-novem_review.tar.bz2
Proposed rollback of the TCL_STUB_MAGIC change on novem branch.novem_review
Diffstat (limited to 'generic/tclStubLibCompat.c')
-rw-r--r--generic/tclStubLibCompat.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/generic/tclStubLibCompat.c b/generic/tclStubLibCompat.c
deleted file mode 100644
index 7d8c5c3..0000000
--- a/generic/tclStubLibCompat.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * tclStubLibCompat.c --
- *
- * Stub object that will be statically linked into extensions that want
- * to access Tcl.
- *
- * Copyright (c) 2012 Jan Nijtmans
- *
- * See the file "license.terms" for information on usage and redistribution of
- * this file, and for a DISCLAIMER OF ALL WARRANTIES.
- */
-
-/*
- * Small wrapper, which allows Tcl8 extensions to use the same stub
- * library as Tcl 9.
- */
-
-#include "tclInt.h"
-
-
-/*
- *----------------------------------------------------------------------
- *
- * Tcl_InitStubs --
- *
- * Tries to initialise the stub table pointers and ensures that the
- * correct version of Tcl is loaded.
- *
- * Results:
- * The actual version of Tcl that satisfies the request, or NULL to
- * indicate that an error occurred.
- *
- * Side effects:
- * Sets the stub table pointers.
- *
- *----------------------------------------------------------------------
- */
-#undef Tcl_InitStubs
-
-MODULE_SCOPE const char *
-Tcl_InitStubs(
- Tcl_Interp *interp,
- const char *version,
- int exact)
-{
- /* Use the hardcoded Tcl8 magic value here. */
- return TclInitStubs(interp, version, exact, (int) 0xFCA3BACF);
-}
-
-/*
- * Local Variables:
- * mode: c
- * c-basic-offset: 4
- * fill-column: 78
- * End:
- */
-