X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fstructs.lisp;h=3c886a170e7db27b19511c02e65732fc85ffc2e1;hb=09464c82191ef241c749756bbad5ffaadd8f6e5f;hp=8518eeca22073c7b3d6963af3cee99768e3582dc;hpb=77fd04d570b9ae1fd40c1f7b0134af826576210b;p=uffi.git diff --git a/tests/structs.lisp b/tests/structs.lisp index 8518eec..3c886a1 100644 --- a/tests/structs.lisp +++ b/tests/structs.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: structs.lisp,v 1.2 2003/08/14 19:35:05 kevin Exp $ +;;;; $Id$ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg ;;;; @@ -24,8 +24,13 @@ (uffi:def-foreign-type foo-ptr (* foo)) ;; tests that compilation worked -(deftest structs.1 +(deftest :structs.1 (with-foreign-object (p 'foo) t) t) +(deftest :structs.2 + (progn + (uffi:def-foreign-type foo-struct (:struct foo)) + t) + t)