X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fstrtol.lisp;h=b9b73bd805410ff22f7eb92723ce17ee2b39b1bd;hb=7004c2691d5695471c7bce9d62b82a1914cf05a2;hp=1cb1be9e4763a7378fbe331222650a824f33d92f;hpb=0bf8fb658b7a8181a42792f7cb0de08b91f7a8d3;p=uffi.git diff --git a/tests/strtol.lisp b/tests/strtol.lisp index 1cb1be9..b9b73bd 100644 --- a/tests/strtol.lisp +++ b/tests/strtol.lisp @@ -2,21 +2,18 @@ ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; -;;;; Name: strtol.cl +;;;; Name: strtol.lisp ;;;; Purpose: UFFI Example file to strtol, uses pointer arithmetic ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: strtol.lisp,v 1.2 2003/04/29 12:57:10 kevin Exp $ +;;;; $Id$ ;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg ;;;; -;;;; UFFI users are granted the rights to distribute and use this software -;;;; as governed by the terms of the Lisp Lesser GNU Public License -;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* -(in-package :uffi-tests) +(in-package #:uffi-tests) (uffi:def-foreign-type char-ptr (* :unsigned-char)) @@ -28,6 +25,7 @@ ((nptr char-ptr) (endptr (* char-ptr)) (base :int)) + :module "c" :returning :long) (defun strtol (str &optional (base 10))