From: Kevin M. Rosenberg Date: Mon, 30 Sep 2002 07:56:21 +0000 (+0000) Subject: r2906: *** empty log message *** X-Git-Tag: v1.6.1~287 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=7532ec12d083bab34eede6eb7dac723e673b2fc0;hp=130fbcd798fcc0e9513d01519e0837fe7300938b;p=uffi.git r2906: *** empty log message *** --- diff --git a/src/readmacros-mcl.lisp b/src/readmacros-mcl.lisp deleted file mode 100644 index ac20c36..0000000 --- a/src/readmacros-mcl.lisp +++ /dev/null @@ -1,39 +0,0 @@ -;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: UFFI -*- -;;;; ************************************************************************* -;;;; FILE IDENTIFICATION -;;;; -;;;; Name: readmacros-mcl.cl -;;;; Purpose: This file holds functions using read macros for MCL -;;;; Programmer: Kevin M. Rosenberg/John Desoi -;;;; Date Started: Feb 2002 -;;;; -;;;; $Id: readmacros-mcl.lisp,v 1.1 2002/09/30 07:51:01 kevin Exp $ -;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002 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. -;;;; ************************************************************************* - -(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :uffi) - - -;; trap macros don't work right directly in the macros -#+(and mcl (not openmcl)) -(defun new-ptr (size) - (#_NewPtr size)) - -#+(and mcl (not openmcl)) -(defun dispose-ptr (ptr) - (#_DisposePtr ptr)) - -#+openmcl -(defmacro new-ptr (size) - `(ccl::malloc ,size)) - -#+openmcl -(defmacro dispose-ptr (ptr) - `(ccl::free ,ptr)) -