summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-16 10:07:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-16 10:07:03 (GMT)
commit3e46af6402992817bf01c9e6bc423b4c3a2d5b82 (patch)
tree311adc55e6763af7c437c1c0905f144af311aa14 /generic/tclInt.decls
parentf480c2471b8d644bb8cf256efcd0f99507fb4d10 (diff)
downloadtcl-3e46af6402992817bf01c9e6bc423b4c3a2d5b82.zip
tcl-3e46af6402992817bf01c9e6bc423b4c3a2d5b82.tar.gz
tcl-3e46af6402992817bf01c9e6bc423b4c3a2d5b82.tar.bz2
Add (internal) stub entries for TclRegisterLiteral and TclStaticPackage. Not used in any test-cases yet, but could be used in extensions for testing. Backported from 8.6.
New test commands "testbytestring" and "teststringbytes". Also backported from 8.6. Not used in any test-cases yet.
Diffstat (limited to 'generic/tclInt.decls')
-rw-r--r--generic/tclInt.decls13
1 files changed, 12 insertions, 1 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index 93a436a..892f977 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -945,7 +945,18 @@ declare 249 {
int *decpt, int *signum, char **endPtr)
}
-declare 259 {
+# Allow extensions for optimization
+declare 251 {
+ int TclRegisterLiteral(void *envPtr,
+ char *bytes, int length, int flags)
+}
+
+declare 257 {
+ void TclStaticPackage(Tcl_Interp *interp, const char *pkgName,
+ Tcl_PackageInitProc *initProc, Tcl_PackageInitProc *safeInitProc)
+}
+
+declare 260 {
void TclUnusedStubEntry(void)
}