Remove old CVS $Id$ keyword
[uffi.git] / tests / uffi-c-test-lib.lisp
index 7481201d49a2670eba33c49662903e5c0697d2a4..9b87cf3d37cb232253e3ff385ced327c302cf416 100644 (file)
@@ -7,9 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Mar 2002
 ;;;;
-;;;; $Id$
-;;;;
-;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg
+;;;; This file, part of UFFI, is Copyright (c) 2002-2010 by Kevin M. Rosenberg
 ;;;;
 ;;;; *************************************************************************
 
@@ -33,7 +31,7 @@
 
 (defun string-count-upper (str)
   (uffi:with-cstring (str-cstring str)
-    (cs-count-upper str-cstring))) 
+    (cs-count-upper str-cstring)))
 
 (uffi:def-function ("half_double_vector" half-double-vector)
     ((size :int)
 (uffi:def-constant +double-vec-length+ 10)
 (defun test-half-double-vector ()
   (let ((vec (uffi:allocate-foreign-object :double +double-vec-length+))
-       results)
+        results)
     (dotimes (i +double-vec-length+)
-      (setf (uffi:deref-array vec '(:array :double) i) 
-           (coerce i 'double-float)))
+      (setf (uffi:deref-array vec '(:array :double) i)
+            (coerce i 'double-float)))
     (half-double-vector +double-vec-length+ vec)
     (dotimes (i +double-vec-length+)
       (push (uffi:deref-array vec '(:array :double) i) results))
@@ -85,7 +83,7 @@
     (system:without-gcing
      (half-double-vector +double-vec-length+ (system:vector-sap vec)))
     vec))
-    
+
 (deftest :c-test.1 (string-to-upper "this is a test") "THIS IS A TEST")
 (deftest :c-test.2 (string-to-upper nil) nil)
 (deftest :c-test.3 (string-count-upper "This is a Test") 2)