Fix sqlite and sqlite.tuple-db for factor changes

db4
Chris Double 2008-01-17 11:26:33 +13:00
parent cd64a7bbee
commit f0f309b4b4
3 changed files with 9 additions and 10 deletions

View File

@ -12,14 +12,13 @@ IN: sqlite.lib
USING: alien compiler kernel math namespaces sequences strings alien.syntax
system combinators ;
: load-sqlite-library ( -- )
"sqlite" {
{ [ win32? ] [ "sqlite3.dll" ] }
{ [ macosx? ] [ "/usr/lib/libsqlite3.dylib" ] }
{ [ unix? ] [ "libsqlite3.so" ] }
} cond "cdecl" add-library ; parsing
load-sqlite-library
<<
"sqlite" {
{ [ win32? ] [ "sqlite3.dll" ] }
{ [ macosx? ] [ "/usr/lib/libsqlite3.dylib" ] }
{ [ unix? ] [ "libsqlite3.so" ] }
} cond "cdecl" add-library
>>
! Return values from sqlite functions
: SQLITE_OK 0 ; inline ! Successful result

View File

@ -1,6 +1,6 @@
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
USING: help sqlite help.syntax help.markup ;
USING: help help.syntax help.markup ;
IN: sqlite
HELP: sqlite-open

View File

@ -1,6 +1,6 @@
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
USING: help sqlite sqlite.tuple-db help.syntax help.markup ;
USING: help sqlite help.syntax help.markup ;
IN: sqlite.tuple-db
ARTICLE: { "sqlite" "tuple-db-loading" } "Loading"