projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r8116: Automated commit for Debian build of uffi upstream-version-1.3.8
[uffi.git]
/
tests
/
structs.lisp
diff --git
a/tests/structs.lisp
b/tests/structs.lisp
index 1522a15f04110456cf649245086ac9045a6dd276..6eb7577d4a3438a1b270fe2b05793793b53435f5 100644
(file)
--- a/
tests/structs.lisp
+++ b/
tests/structs.lisp
@@
-3,13
+3,13
@@
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: structs.lisp
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: structs.lisp
-;;;; Purpose:
UFFI Example file to strtol, uses pointer arithmetic
+;;;; Purpose:
Test file for UFFI structures
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id
: structs.lisp,v 1.1 2003/08/13 18:53:42 kevin Exp
$
+;;;; $Id$
;;;;
;;;;
-;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;; This file, part of UFFI, is Copyright (c) 2002
-2003
by Kevin M. Rosenberg
;;;;
;;;; *************************************************************************
;;;;
;;;; *************************************************************************
@@
-23,12
+23,9
@@
(uffi:def-foreign-type foo-ptr (* foo))
(uffi:def-foreign-type foo-ptr (* foo))
-(uffi:def-function "baz"
- ((x :int))
- :returning foo-ptr
- :module "frob")
-
-(defun test ()
+;; tests that compilation worked
+(deftest structs.1
(with-foreign-object (p 'foo)
(with-foreign-object (p 'foo)
- (baz p)))
+ t)
+ t)