/ Check-in [f134c282]
Login

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

Overview
Comment:Replace SQLITE_EXTERN with SQLITE_API in exported variables when generating the amalgamation. Should fix #2982 (CVS 4845)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f134c282ea841fe35f322a1f8c326242c6ad7b24
User & Date: mlcreech 2008-03-09 01:14:42
Context
2008-03-09
01:38
Use autoconf to detect presence of gmtime_r() and localtime_r() (CVS 4846) check-in: 9894d2ce user: mlcreech tags: trunk
01:14
Replace SQLITE_EXTERN with SQLITE_API in exported variables when generating the amalgamation. Should fix #2982 (CVS 4845) check-in: f134c282 user: mlcreech tags: trunk
2008-03-08
12:37
Clarify the language in the sqlite3_create_function() documentation. Ticket #2980. (CVS 4844) check-in: 2db43738 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/mksqlite3c.tcl.

   172    172           }
   173    173         } elseif {[regexp $varpattern $line all varname]} {
   174    174           # Add the SQLITE_PRIVATE before variable declarations or
   175    175           # definitions for internal use
   176    176           if {![regexp {^sqlite3_} $varname]} {
   177    177             regsub {^extern } $line {} line
   178    178             puts $out "SQLITE_PRIVATE $line"
   179         -        } elseif {![regexp {^SQLITE_EXTERN} $line]} {
   180         -          puts $out "SQLITE_API $line"
   181    179           } else {
   182         -          puts $out $line
          180  +          regsub {^SQLITE_EXTERN } $line {} line
          181  +          puts $out "SQLITE_API $line"
   183    182           }
   184    183         } elseif {[regexp {^(SQLITE_EXTERN )?void \(\*sqlite3IoTrace\)} $line]} {
   185    184           regsub {^SQLITE_EXTERN } $line {} line
   186    185           puts $out "SQLITE_PRIVATE $line"
   187    186         } else {
   188    187           puts $out $line
   189    188         }