| OLD | NEW |
| 1 #!/usr/bin/tclsh | 1 #!/usr/bin/tclsh |
| 2 # | 2 # |
| 3 # This script constructs the "sqlite3.h" header file from the following | 3 # This script constructs the "sqlite3.h" header file from the following |
| 4 # sources: | 4 # sources: |
| 5 # | 5 # |
| 6 # 1) The src/sqlite.h.in source file. This is the template for sqlite3.h. | 6 # 1) The src/sqlite.h.in source file. This is the template for sqlite3.h. |
| 7 # 2) The VERSION file containing the current SQLite version number. | 7 # 2) The VERSION file containing the current SQLite version number. |
| 8 # 3) The manifest file from the fossil SCM. This gives use the date. | 8 # 3) The manifest file from the fossil SCM. This gives use the date. |
| 9 # 4) The manifest.uuid file from the fossil SCM. This gives the SHA1 hash. | 9 # 4) The manifest.uuid file from the fossil SCM. This gives the SHA1 hash. |
| 10 # | 10 # |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 if {([regexp $varpattern $line] && ![regexp {^ *typedef} $line]) | 95 if {([regexp $varpattern $line] && ![regexp {^ *typedef} $line]) |
| 96 || ([regexp $declpattern $line]) | 96 || ([regexp $declpattern $line]) |
| 97 } { | 97 } { |
| 98 set line "SQLITE_API $line" | 98 set line "SQLITE_API $line" |
| 99 } | 99 } |
| 100 puts $line | 100 puts $line |
| 101 } | 101 } |
| 102 close $in | 102 close $in |
| 103 } | 103 } |
| OLD | NEW |