X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fprimitives.lisp;h=b7c0283b2e2a9f6d9ba0fdf729b634aa738c09d6;hb=4b3d6378e1c9ea38fa2eeced4f9f2dfbe41e3a64;hp=e49c4b422febc328abb830a676a187acf1a7945c;hpb=54929de80ac68bb7ef45a28e70945c7243d39c82;p=uffi.git diff --git a/src/primitives.lisp b/src/primitives.lisp index e49c4b4..b7c0283 100644 --- a/src/primitives.lisp +++ b/src/primitives.lisp @@ -7,9 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 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 ;;;; ;;;; ************************************************************************* @@ -143,7 +141,13 @@ supports takes advantage of this optimization." (:unsigned-short . c-call:unsigned-short) (:int . alien:integer) (:unsigned-int . c-call:unsigned-int) (:long . c-call:long) (:unsigned-long . c-call:unsigned-long) + #+#.(cl:if (cl:find-symbol (cl:string '#:long-long) + (cl:string '#:c-call)) + '(and) '(or)) (:long-long . c-call:long-long) + #+#.(cl:if (cl:find-symbol (cl:string '#:unsigned-long-long) + (cl:string '#:c-call)) + '(and) '(or)) (:unsigned-long-long . c-call:unsigned-long-long) (:float . c-call:float) (:double . c-call:double) (:array . alien:array)))