r2914: rename .cl files
[clsql.git] / db-mysql / testing / mysql-struct-size.lisp
diff --git a/db-mysql/testing/mysql-struct-size.lisp b/db-mysql/testing/mysql-struct-size.lisp
new file mode 100644 (file)
index 0000000..60dfd92
--- /dev/null
@@ -0,0 +1,11 @@
+(in-package :mysql)
+
+#+lispworks 
+(progn
+  (setq c (fli:allocate-foreign-object :type 'mysql-mysql))
+  (format t "~&Size MYSQL structure: ~d" (fli:pointer-element-size c)))
+#+allegro 
+(progn
+  (setq c (ff:allocate-fobject 'mysql-mysql :foreign))
+  (format t "~&Size MYSQL structure: ~A" c))
+