chiark / gitweb /
ba8d0bdf2b26b4af6f6dbab1a1f373621c542d2a
[clg] / glib / defpackage.lisp
1 ;; Common Lisp bindings for GTK+ v2.0
2 ;; Copyright (C) 1999-2005 Espen S. Johnsen <espen@users.sf.net>
3 ;;
4 ;; This library is free software; you can redistribute it and/or
5 ;; modify it under the terms of the GNU Lesser General Public
6 ;; License as published by the Free Software Foundation; either
7 ;; version 2 of the License, or (at your option) any later version.
8 ;;
9 ;; This library is distributed in the hope that it will be useful,
10 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 ;; Lesser General Public License for more details.
13 ;;
14 ;; You should have received a copy of the GNU Lesser General Public
15 ;; License along with this library; if not, write to the Free Software
16 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18 ;; $Id: defpackage.lisp,v 1.6 2005-04-17 21:49:19 espen Exp $
19
20 ;(export 'kernel::type-expand-1 "KERNEL")
21
22 (defpackage "GLIB"
23   (:use "COMMON-LISP""AUTOEXPORT")
24   #+cmu(:use "SYSTEM" "KERNEL" "PCL" "EXT")
25   #+sbcl(:use "SB-SYS" "SB-KERNEL" "SB-PCL" "SB-EXT")
26   #+cmu(:shadowing-import-from "PCL"
27            "CLASS-DIRECT-SUPERCLASSES" "CLASS-DIRECT-SUPERCLASSES")
28   (:shadow "POINTER")
29   (:import-from #+cmu"PCL" #+sbcl"SB-PCL"
30            "LOCATION" "ALLOCATION" "DIRECT-SLOTS" 
31            "READER-FUNCTION" "WRITER-FUNCTION" "BOUNDP-FUNCTION" 
32            "INITIALIZE-INTERNAL-SLOT-FUNCTIONS" "COMPUTE-SLOT-ACCESSOR-INFO"
33            "COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS"
34            "INITIALIZE-INTERNAL-SLOT-GFS")
35   #+sbcl(:import-from "SB-EXT" "COLLECT")
36   #+cmu(:import-from "ALIEN" "CALLBACK")
37   (:import-from #+cmu"ALIEN" #+sbcl"SB-ALIEN" 
38            "WITH-ALIEN" "ALIEN-FUNCALL" "%HEAP-ALIEN" "MAKE-HEAP-ALIEN-INFO" 
39            "ADDR" "PARSE-ALIEN-TYPE" "SYSTEM-AREA-POINTER" "EXTERN-ALIEN")
40   #+cmu(:import-from "C-CALL" "%NATURALIZE-C-STRING" "VOID")
41   #+sbcl(:import-from "SB-ALIEN" 
42            "%NATURALIZE-UTF8-STRING"  "%DEPORT-UTF8-STRING" "VOID")
43   (:export "DEFTYPE-METHOD" "TRANSLATE-TYPE-SPEC" "TRANSLATE-TO-ALIEN"
44            "TRANSLATE-FROM-ALIEN" "CLEANUP-ALIEN" "UNREFERENCE-ALIEN"
45            "SIZE-OF" "UNBOUND-VALUE")
46   (:export "DEFBINDING" "DEFINE-FOREIGN" "MKBINDING" "USE-PREFIX"
47            "PACKAGE-PREFIX" "DEFCALLBACK" "CALLBACK")
48   (:export "LONG" "UNSIGNED-LONG" "INT" "UNSIGNED-INT" "SHORT" "UNSIGNED-SHORT"
49            "SIGNED" "UNSIGNED" "CHAR" "POINTER" "COPY-OF")
50   (:export "LOCATION" "ALLOCATION" "DIRECT-SLOTS" "READER-FUNCTION" 
51            "WRITER-FUNCTION" "BOUNDP-FUNCTION" 
52            "INITIALIZE-INTERNAL-SLOT-FUNCTIONS"
53            "COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS"))
54