X-Git-Url: http://git.kpe.io/?p=uffi.git;a=blobdiff_plain;f=tests%2Fstructs.lisp;h=eb8b78cbe9306406c06c29cd987a11665a36bcef;hp=6eb7577d4a3438a1b270fe2b05793793b53435f5;hb=b86fdf882156aa45dc6e8e93a158dedf506f4233;hpb=ebedde4e67b858b1f65c5eb4dc7bc45978ed1e40 diff --git a/tests/structs.lisp b/tests/structs.lisp index 6eb7577..eb8b78c 100644 --- a/tests/structs.lisp +++ b/tests/structs.lisp @@ -7,9 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id$ -;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg +;;;; This file, part of UFFI, is Copyright (c) 2002-2010 by Kevin M. Rosenberg ;;;; ;;;; ************************************************************************* @@ -24,8 +22,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)