projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r11764: 2007-07-22 Kevin Rosenberg (kevin@rosenberg.net)
[uffi.git]
/
tests
/
structs.lisp
diff --git
a/tests/structs.lisp
b/tests/structs.lisp
index 6eb7577d4a3438a1b270fe2b05793793b53435f5..068ee1f7b2204da09e91f10df8c4591c887b7746 100644
(file)
--- a/
tests/structs.lisp
+++ b/
tests/structs.lisp
@@
-9,7
+9,7
@@
;;;;
;;;; $Id$
;;;;
;;;;
;;;; $Id$
;;;;
-;;;; This file, part of UFFI, is Copyright (c) 2002-200
3
by Kevin M. Rosenberg
+;;;; This file, part of UFFI, is Copyright (c) 2002-200
5
by Kevin M. Rosenberg
;;;;
;;;; *************************************************************************
;;;;
;;;; *************************************************************************
@@
-24,8
+24,13
@@
(uffi:def-foreign-type foo-ptr (* foo))
;; tests that compilation worked
(uffi:def-foreign-type foo-ptr (* foo))
;; tests that compilation worked
-(deftest structs.1
+(deftest
:
structs.1
(with-foreign-object (p 'foo)
t)
t)
(with-foreign-object (p 'foo)
t)
t)
+(deftest :structs.2
+ (progn
+ (uffi:def-foreign-type foo-struct (:struct foo))
+ t)
+ t)