Fossil SCM

Fix the th_tcl.c to include new macros defined in file.c.

drh 2017-12-03 16:19 trunk
Commit e27b18565eb9489faf560795e80b02fb96b6f449d09a4017f93e5b3aa30f2302
1 file changed +3
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -847,10 +847,13 @@
847847
** the function pointers provided by the caller with the statically linked
848848
** functions.
849849
*/
850850
char *fossil_getenv(const char *zName); /* file.h */
851851
int file_isdir(const char *zPath, int); /* file.h */
852
+#define ExtFILE 0 /* file.h */
853
+#define RepoFILE 1 /* file.h */
854
+#define SymFILE 2 /* file.h */
852855
char *file_dirname(const char *zPath); /* file.h */
853856
void fossil_free(void *p); /* util.h */
854857
855858
static int loadTcl(
856859
Th_Interp *interp,
857860
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -847,10 +847,13 @@
847 ** the function pointers provided by the caller with the statically linked
848 ** functions.
849 */
850 char *fossil_getenv(const char *zName); /* file.h */
851 int file_isdir(const char *zPath, int); /* file.h */
 
 
 
852 char *file_dirname(const char *zPath); /* file.h */
853 void fossil_free(void *p); /* util.h */
854
855 static int loadTcl(
856 Th_Interp *interp,
857
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -847,10 +847,13 @@
847 ** the function pointers provided by the caller with the statically linked
848 ** functions.
849 */
850 char *fossil_getenv(const char *zName); /* file.h */
851 int file_isdir(const char *zPath, int); /* file.h */
852 #define ExtFILE 0 /* file.h */
853 #define RepoFILE 1 /* file.h */
854 #define SymFILE 2 /* file.h */
855 char *file_dirname(const char *zPath); /* file.h */
856 void fossil_free(void *p); /* util.h */
857
858 static int loadTcl(
859 Th_Interp *interp,
860

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button