projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2785: *** empty log message ***
[uffi.git]
/
examples
/
union.cl
diff --git
a/examples/union.cl
b/examples/union.cl
index c3349c6d15939c22d1239b3607a4540befcdd526..967fc25b1ef73ca6d64901cb1c25ffc05d1a0d2b 100644
(file)
--- a/
examples/union.cl
+++ b/
examples/union.cl
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: union.cl,v 1.
7 2002/04/03 00:57:48
kevin Exp $
+;;;; $Id: union.cl,v 1.
8 2002/09/20 05:38:01
kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-48,6
+48,7
@@
(uffi:free-foreign-object u))
(values))
(uffi:free-foreign-object u))
(values))
+#+test-uffi
(defun test-union-1 ()
(let ((u (uffi:allocate-foreign-object 'tunion1)))
(setf (uffi:get-slot-value u 'tunion1 'uint)
(defun test-union-1 ()
(let ((u (uffi:allocate-foreign-object 'tunion1)))
(setf (uffi:get-slot-value u 'tunion1 'uint)