r10589: more struct-pointer
[uffi.git] / tests / time.lisp
index 78accd28bf47f3a4f56b3652a97420d4b47e1c14..fe8e305402e8ccdccb5f8a5a27c1668d3a19f416 100644 (file)
 
 (uffi:def-function "gmtime"
     ((time (* time-t)))
-  :returning (* tm))
+  :returning (:struct-pointer tm))
 
 (uffi:def-function "asctime"
-    ((time (* tm)))
+    ((time (:struct-pointer tm)))
   :returning :cstring)
 
 (uffi:def-type time-t :unsigned-long)
-(uffi:def-type tm-pointer (* tm))
+(uffi:def-type tm-pointer (:struct-pointer tm))
 
 (deftest :time.1
    (uffi:with-foreign-object (time 'time-t)