X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftime.lisp;h=9d9546364243e08e53deb1d7409f8e304efae311;hb=cc7b3da48f78a00cf62737f447ef9fe05a79bc37;hp=78accd28bf47f3a4f56b3652a97420d4b47e1c14;hpb=0824453227a26da41a3929c9117b66714980414b;p=uffi.git diff --git a/tests/time.lisp b/tests/time.lisp index 78accd2..9d95463 100644 --- a/tests/time.lisp +++ b/tests/time.lisp @@ -9,7 +9,7 @@ ;;;; ;;;; $Id$ ;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg ;;;; ;;;; ************************************************************************* @@ -36,14 +36,14 @@ (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)