X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-odbc%2Fodbc-ff-interface.lisp;h=96c9c5187c411a11c63663b3734c567bf3c51521;hp=4ab8627df91e4ef3a9d5eadde7d1537faa376087;hb=5148be446aee32ec705beac3fbba35f499df4fd4;hpb=947d861d8857ce104a5c61ba993c3cf468a730d8 diff --git a/db-odbc/odbc-ff-interface.lisp b/db-odbc/odbc-ff-interface.lisp index 4ab8627..96c9c51 100644 --- a/db-odbc/odbc-ff-interface.lisp +++ b/db-odbc/odbc-ff-interface.lisp @@ -6,7 +6,7 @@ ;;;; Purpose: Function definitions for UFFI interface to ODBC ;;;; Author: Kevin M. Rosenberg ;;;; -;;;; $Id: odbc-package.lisp 7061 2003-09-07 06:34:45Z kevin $ +;;;; $Id$ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2004 by Kevin M. Rosenberg ;;;; and Copyright (C) Paul Meurer 1999 - 2001. All rights reserved. @@ -21,7 +21,7 @@ (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 '(* :int)) +(def-type long-ptr-type '(* #.$ODBC-LONG-TYPE)) (def-function "SQLAllocEnv" @@ -152,7 +152,7 @@ (cbColNameMax :short) ; SWORD cbColNameMax (*pcbColName (* :short)) ; SWORD FAR *pcbColName (*pfSqlType (* :short)) ; SWORD FAR *pfSqlType - (*pcbColDef (* :unsigned-int)) ; UDWORD FAR *pcbColDef + (*pcbColDef (* #.$ODBC-ULONG-TYPE)) ; UDWORD FAR *pcbColDef (*pibScale (* :short)) ; SWORD FAR *pibScale (*pfNullable (* :short)) ; SWORD FAR *pfNullable )