X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fstrtol.cl;h=4d3a090f658f32442922127b01e334c41e33c1a1;hb=bd34097f9dcc26469f64fb5f91bbf2f5f03d25b4;hp=eefee46e261175b7654c506ce7fc9004adb6a519;hpb=f9018842e82e38c3ef5360b3517b9817e7705d0e;p=uffi.git diff --git a/tests/strtol.cl b/tests/strtol.cl index eefee46..4d3a090 100644 --- a/tests/strtol.cl +++ b/tests/strtol.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: strtol.cl,v 1.11 2002/03/20 04:56:52 kevin Exp $ +;;;; $Id: strtol.cl,v 1.13 2002/04/02 21:29:45 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -36,7 +36,7 @@ Condition flag is T if all of string parses as a long, NIL if their was no string at all, or an integer indicating position in string of first non-valid character" (let* ((str-native (uffi:convert-to-foreign-string str)) - (endptr (uffi:allocate-foreign-object char-ptr)) + (endptr (uffi:allocate-foreign-object 'char-ptr)) (value (c-strtol str-native endptr base)) (endptr-value (uffi:deref-pointer endptr 'char-ptr))) @@ -59,7 +59,7 @@ of first non-valid character" -#+test-uffi +#+examples-uffi (progn (flet ((print-results (str) (multiple-value-bind (result flag) (strtol str)