r10799: 2005-11-07 Kevin Rosenberg (kevin@rosenberg.net)
[uffi.git] / src / package.lisp
index dbd851bbf11653404c1bd8ff4084cf528c221a45..abaad4655e0851e2f16132a77ed538684324fbad 100644 (file)
@@ -2,23 +2,19 @@
 ;;;; *************************************************************************
 ;;;; FILE IDENTIFICATION
 ;;;;
-;;;; Name:          package.cl
+;;;; Name:          package.lisp
 ;;;; Purpose:       Defines UFFI package
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;; This file, part of UFFI, is Copyright (c) 2002-2005 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 :cl-user)
+(in-package #:cl-user)
 
-(defpackage :uffi
-  (:use :cl)
+(defpackage #:uffi
+  (:use #:cl)
   (:export 
    
    ;; immediate types
    #:deref-pointer
    #:ensure-char-character
    #:ensure-char-integer
+   #:ensure-char-storable
    #:null-pointer-p
    #:make-null-pointer
+   #:make-pointer
+   #:pointer-address
    #:+null-cstring-pointer+
    #:char-array-to-pointer
+   #:with-cast-pointer
+   #:def-foreign-var
+   #:convert-from-foreign-usb8
    
    ;; string functions
    #:convert-from-cstring
@@ -61,6 +63,7 @@
    #:convert-to-foreign-string
    #:allocate-foreign-string
    #:with-foreign-string
+   #:foreign-string-length
    
    ;; function call
    #:def-function
    #:find-foreign-library
    #:load-foreign-library
    #:default-foreign-library-type
+   #:foreign-library-types
 
    ;; OS
    #:run-shell-command
+   #:getenv
    ))
+
+