Remove old CVS $Id$ keyword
[uffi.git] / src / readmacros-mcl.lisp
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: UFFI -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          readmacros-mcl.lisp
6 ;;;; Purpose:       This file holds functions using read macros for MCL
7 ;;;; Programmer:    Kevin M. Rosenberg/John Desoi
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; This file, part of UFFI, is Copyright (c) 2002-2010 by Kevin M. Rosenberg
11 ;;;;
12 ;;;; *************************************************************************
13
14 (in-package #:uffi)
15
16
17 ;; trap macros don't work right directly in the macros
18 #+digitool
19 (defun new-ptr (size)
20   (#_NewPtr size))
21
22 #+digitool
23 (defun dispose-ptr (ptr)
24   (#_DisposePtr ptr))
25
26 #+openmcl
27 (defmacro new-ptr (size)
28   `(ccl::malloc ,size))
29
30 #+openmcl
31 (defmacro dispose-ptr (ptr)
32   `(ccl::free ,ptr))
33