r10077: * multiple: Apply patch from Joerg Hoehle with multiple
[clsql.git] / db-odbc / odbc-ff-interface.lisp
index d26648c744fa6737fb0e7be8e5d1d5918ab32bd9..a7153c8660600a5d7260a967d060a6aee1cbc8ea 100644 (file)
@@ -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"
      (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)
 
 
      (table-name-length :short)
      (unique :short)
      (reserved :short))
+  :module "odbc"
   :returning :short)