X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpackage.lisp;h=05f7e4f5d6802e1687f63fc494a7c2d1573c4a6b;hb=1e7eb7f618250a6e273f752c94fa82a6a16a1d97;hp=14226383da860ad8e0046d99bcb75122cbacadf5;hpb=7653a03580807774202e699a091a2e8520db5cf8;p=uffi.git diff --git a/src/package.lisp b/src/package.lisp index 1422638..05f7e4f 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -2,7 +2,7 @@ ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; -;;;; Name: package.cl +;;;; Name: package.lisp ;;;; Purpose: Defines UFFI package ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 @@ -14,11 +14,10 @@ ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* -(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :cl-user) +(in-package #:cl-user) -(defpackage :uffi - (:use :cl) +(defpackage #:uffi + (:use #:cl) (:export ;; immediate types @@ -50,6 +49,8 @@ #:make-null-pointer #:+null-cstring-pointer+ #:char-array-to-pointer + #:with-cast-pointer + #:def-foreign-var ;; string functions #:convert-from-cstring @@ -61,6 +62,7 @@ #:convert-to-foreign-string #:allocate-foreign-string #:with-foreign-string + #:foreign-string-length ;; function call #:def-function