Refactored find-all and build-object to be more readable, shorter and
[clsql.git] / db-mysql / mysql-api.lisp
index 60b5cbe417f559f84b241eca27692f496ea876e8..45328153b20bf356c3e33ef8c9f464cc5a011d32 100644 (file)
      :get-result
      :use-result))
 
-#+(or mysql-client-v4.1 mysql-client-v5)
-(uffi:def-enum mysql-field-types
-    (:ready
-     :get-result
-     :use-result))
-
 ;;; Opaque pointers to mysql C-defined structures
 (uffi:def-foreign-type mysql-mysql (* :void))
 (uffi:def-foreign-type mysql-mysql-res (* :void))
 (uffi:def-function "mysql_options"
   ((mysql mysql-mysql)
    (option mysql-option)
-   (arg (* :void)))
+   (arg :pointer-void))
   :module "mysql"
   :returning :int)