X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-odbc%2Fodbc-ff-interface.lisp;h=a7153c8660600a5d7260a967d060a6aee1cbc8ea;hp=7b780233db545f6a9abbe95054e7cd25fa00b43a;hb=d9f41af62750c622945bb17b622a39689ee5b840;hpb=570798eb781157ad988bd527232bb88d51b103d7 diff --git a/db-odbc/odbc-ff-interface.lisp b/db-odbc/odbc-ff-interface.lisp index 7b78023..a7153c8 100644 --- a/db-odbc/odbc-ff-interface.lisp +++ b/db-odbc/odbc-ff-interface.lisp @@ -19,9 +19,9 @@ (in-package #:odbc) (def-foreign-type sql-handle :pointer-void) -(def-foreign-type sql-handle-ptr '(* sql-handle)) -(def-foreign-type string-ptr '(* :unsigned-char)) -(def-type long-ptr-type '(* #.$ODBC-LONG-TYPE)) +(def-foreign-type sql-handle-ptr (* sql-handle)) +(def-foreign-type string-ptr (* :unsigned-char)) +(def-type long-ptr-type (* #.$ODBC-LONG-TYPE)) ;; odbc v3 (def-function "SQLAllocHandle" @@ -38,6 +38,7 @@ :module "odbc" :returning :short) ; RETCODE_SQL_API +;; deprecated (def-function "SQLAllocConnect" ((henv sql-handle) ; HENV henv (*phdbc sql-handle-ptr) ; HDBC FAR *phdbc @@ -75,6 +76,7 @@ :module "odbc" :returning :short) ; RETCODE_SQL_API +;; deprecated (def-function "SQLAllocStmt" ((hdbc sql-handle) ; HDBC hdbc (*phstmt sql-handle-ptr) ; HSTMT FAR *phstmt @@ -382,7 +384,10 @@ (table-name :pointer-void) (table-name-length :short) (table-type-name :pointer-void) - (table-type-name-length :short)) + (table-type-name-length :short) + (unique :short) + (reserved :short)) + :module "odbc" :returning :short) @@ -396,6 +401,7 @@ (table-name-length :short) (unique :short) (reserved :short)) + :module "odbc" :returning :short)