SQLite

Check-in [53f5be7432]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Designate the beginning and the end of the sqlite3session.h file in the constructed sqlite3.h file.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sessions
Files: files | file ages | folders
SHA1: 53f5be74327162a2bd25a91eaf7c91b126294727
User & Date: drh 2013-04-10 15:01:36.565
Context
2013-04-11
00:45
Correct minor typo in two regular expressions. (check-in: f1eed92b7b user: mistachkin tags: sessions)
2013-04-10
15:01
Designate the beginning and the end of the sqlite3session.h file in the constructed sqlite3.h file. (check-in: 53f5be7432 user: drh tags: sessions)
2013-03-28
01:19
Merge the changes for the 3.7.16.1 release candidate into the sessions branch. (check-in: ee35a89712 user: drh tags: sessions)
Changes
Unified Diff Ignore Whitespace Patch
Changes to tool/mksqlite3h.tcl.
74
75
76
77
78
79
80



81
82
83
84
85
86
87
  $TOP/ext/session/sqlite3session.h
}]

# Process the source files.
#
foreach file $filelist {
  set in [open $file]



  while {![eof $in]} {
  
    set line [gets $in]

    # File sqlite3rtree.h contains a line "#include <sqlite3.h>". Omit this
    # line when copying sqlite3rtree.h into sqlite3.h.
    #







>
>
>







74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
  $TOP/ext/session/sqlite3session.h
}]

# Process the source files.
#
foreach file $filelist {
  set in [open $file]
  if {![regexp {sqlite.h.in} $file]} {
    puts "/******** Begin file [file tail $file] *********/"
  }
  while {![eof $in]} {
  
    set line [gets $in]

    # File sqlite3rtree.h contains a line "#include <sqlite3.h>". Omit this
    # line when copying sqlite3rtree.h into sqlite3.h.
    #
105
106
107
108
109
110
111


112

     || ([regexp $declpattern $line])
    } {
      set line "SQLITE_API $line"
    }
    puts $line
  }
  close $in


}








>
>
|
>
108
109
110
111
112
113
114
115
116
117
118
     || ([regexp $declpattern $line])
    } {
      set line "SQLITE_API $line"
    }
    puts $line
  }
  close $in
  if {![regexp {sqlite.h.in} $file]} {
    puts "/******** End of [file tail $file] *********/"
  }
}