X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcasts.lisp;h=709f06db9759c35b6040926e4289c64cd74e3616;hb=efec53a77aad71856873ab85c2fec4da2ba9f283;hp=a6654599a6ff92fa2ee9f5064c1c956c7ee92df2;hpb=ebedde4e67b858b1f65c5eb4dc7bc45978ed1e40;p=uffi.git diff --git a/tests/casts.lisp b/tests/casts.lisp index a665459..709f06d 100644 --- a/tests/casts.lisp +++ b/tests/casts.lisp @@ -1,6 +1,6 @@ ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- ;;;; ************************************************************************* -;;;; FILE IDENTIFICATION +;;;; FILE IDENTIFICAION ;;;; ;;;; Name: casts.lisp ;;;; Purpose: Tests of with-cast-pointer @@ -15,13 +15,15 @@ (uffi:def-function ("cast_test_int" cast-test-int) () + :module "uffi_tests" :returning :pointer-void) (uffi:def-function ("cast_test_float" cast-test-float) () + :module "uffi_tests" :returning :pointer-void) -(deftest cast.1 +(deftest :cast.1 (progn (uffi:with-cast-pointer (temp (cast-test-int) :int) (assert (= (uffi:deref-pointer temp :int) 23))) @@ -33,7 +35,7 @@ t) t) -(deftest cast.2 +(deftest :cast.2 (progn (uffi:with-cast-pointer (temp (cast-test-float) :double) (assert (= (uffi:deref-pointer temp :double) 3.21d0)))