r5501: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 15 Aug 2003 02:50:24 +0000 (02:50 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 15 Aug 2003 02:50:24 +0000 (02:50 +0000)
AUTHORS
tests/foreign-var.lisp

diff --git a/AUTHORS b/AUTHORS
index 76794c2e7f0bf78fe8c0b8d0990afc542f370d48..a70e2a5df3f166f4c18946284d6e65e8c0dffbbd 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,3 +1,12 @@
-Kevin M. Rosenberg <kevin@rosenberg.net>: Primary author
-John Desoi <desoi@mac.com>: Added MCL & OpenMCL support
-Reini Urban <rurban@x-ray.at>: Contributed initial Corman support
+Kevin M. Rosenberg <kevin@rosenberg.net>
+  Primary author
+
+John Desoi <desoi@mac.com>
+  Contributed MCL & OpenMCL support
+
+Reini Urban <rurban@x-ray.at>
+  Contributed initial Corman support
+
+Edi Weitz <edi@weitz.de>
+  Contributed with-cast-pointer and def-foreign-var along with
+  documentation
index 52bceb159221330f1d5e03eaaaf1f8cb7133da4e..af072c4fec884f1b0f4ac72942f198362e3afc02 100644 (file)
@@ -4,10 +4,10 @@
 ;;;;
 ;;;; Name:          foreign-var
 ;;;; Purpose:       Tests of foreign variables
-;;;; Programmer:    Kevin M. Rosenberg
+;;;; Authors:       Kevin M. Rosenberg and Edi Weitz
 ;;;; Date Started:  Aug 2003
 ;;;;
-;;;; $Id: foreign-var.lisp,v 1.3 2003/08/15 02:34:34 kevin Exp $
+;;;; $Id: foreign-var.lisp,v 1.4 2003/08/15 02:50:24 kevin Exp $
 ;;;;
 ;;;; *************************************************************************
 
        (setf *fvar-addend* orig)))
   48)
 
-;;(decf (uffi:get-slot-value *fvar-struct* 'fvar-struct 'i) 10)
-;;(deftest fvarst.8 (fvar-struct-int) 38)
+(deftest fvarst.8 
+    (let ((orig (uffi:get-slot-value *fvar-struct* 'fvar-struct 'i)))
+      (decf (uffi:get-slot-value *fvar-struct* 'fvar-struct 'i) 10)
+      (prog1
+         (fvar-struct-int)
+       (setf (uffi:get-slot-value *fvar-struct* 'fvar-struct 'i) orig)))
+  35)