Overview
| Comment: | Updated to use correct Tcl version when initializing stubs |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
0ca36ca558fe0794cc3cb0bfdfabe6f4 |
| User & Date: | rkeene on 2014-06-21 17:38:17.866 |
| Other Links: | manifest | tags |
Context
|
2014-06-21
| ||
| 18:06 | Updated to use actual call to Tcl_InitStubs() check-in: 273c2a2e9a user: rkeene tags: trunk | |
| 17:38 | Updated to use correct Tcl version when initializing stubs check-in: 0ca36ca558 user: rkeene tags: trunk | |
| 15:51 | Updated to produce an error if we are unable to load tcc4tcl shared object check-in: 31cdd14393 user: rkeene tags: trunk | |
Changes
Modified build/tcc-patches/0.9.26/tcc-0.9.26-tclio.diff
from [9fa4659f91]
to [996011b1b2].
| ︙ | |||
93 94 95 96 97 98 99 | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | - + |
+ size = Tcl_Read(fd, (char *)&ehdr, sizeof(ehdr));
+ Tcl_Seek(fd, 0, SEEK_SET);
if (size <= 0) {
tcc_error_noabort("could not read header");
goto the_end;
diff -uNr tcc-0.9.26.orig/tcc.c tcc-0.9.26-1tclio/tcc.c
--- tcc-0.9.26.orig/tcc.c 2013-02-15 08:24:00.000000000 -0600
|
| ︙ | |||
115 116 117 118 119 120 121 | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | - + |
- s = tcc_new();
+#ifdef LIBTCC_USE_TCL_STUBS
+ Tcl_Interp *interp;
+
+ interp = Tcl_CreateInterp();
+ if (interp != NULL) {
|
| ︙ |