Overview
Comment: | In flexible/standalone mode include the core functionality as a header to avoid duplicate symbols |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b8cca3a6b42d9aedb2d9134b30ef668f |
User & Date: | rkeene on 2019-05-08 19:42:23.825 |
Other Links: | manifest | tags |
Context
2019-05-22
| ||
14:28 | Improved minirivet to use lists check-in: 9b0190676f user: rkeene tags: trunk | |
2019-05-08
| ||
19:42 | In flexible/standalone mode include the core functionality as a header to avoid duplicate symbols check-in: b8cca3a6b4 user: rkeene tags: trunk | |
17:25 | For --dump-tcl mode dump all dependency C files as well check-in: 7664854ef9 user: rkeene tags: trunk | |
Changes
Modified Makefile
from [1a2e05ec17]
to [beb49ead95].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | - + - - - - - + + - | CPPFLAGS := -I. -DUSE_TCL_STUBS=1 -DXVFS_MODE_FLEXIBLE CFLAGS := -fPIC -g3 -ggdb3 -Wall LDFLAGS := LIBS := -ltclstub8.6 all: example.so example.c: $(shell find example -type f) $(shell find lib -type f) xvfs.c.rvt xvfs-create Makefile ./xvfs-create --directory example --name example > example.c.new mv example.c.new example.c |
Modified xvfs-core.c
from [a09ee5d8ff]
to [1dde3041c8].
︙ | |||
123 124 125 126 127 128 129 | 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | - + | * handler * 3. flexible -- Attempts to find a core Xvfs instance for the * process at runtime, if found do #2, otherwise * fallback to #1 * */ static Tcl_Filesystem xvfs_tclfs_standalone_fs; |
︙ | |||
196 197 198 199 200 201 202 | 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | - + | } return(TCL_OK); } #endif /* XVFS_MODE_STANDALONE || XVFS_MODE_FLEXIBLE */ #if defined(XVFS_MODE_FLEXIBLE) |
︙ |
Modified xvfs-core.h
from [490b145452]
to [689f90a830].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | - + - + - - - + + + + - - + + + + + + + + + | #if defined(XVFS_MODE_STANDALONE) /* * In standalone mode, we just redefine calls to * Xvfs_Register() to go to the xvfs_standalone_register() * function */ # define Xvfs_Register xvfs_standalone_register |
Modified xvfs-create
from [1c8fe7fbaa]
to [58057edf98].
︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | + - + + + | ::minirivet::parse $template } "dump-tcl" { set xvfs_tcl [file join $sourceDirectory lib xvfs xvfs.tcl] set xvfs_core_h [file join $sourceDirectory xvfs-core.h] set xvfs_core_c [file join $sourceDirectory xvfs-core.c] set cleanup { |
︙ |