7d6495a4 |
1 | ;; Common Lisp bindings for GTK+ v2.0 |
a9bb8f02 |
2 | ;; Copyright (C) 1999-2005 Espen S. Johnsen <espen@users.sf.net> |
7d6495a4 |
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 | |
a9bb8f02 |
18 | ;; $Id: defpackage.lisp,v 1.6 2005/04/17 21:49:19 espen Exp $ |
7d6495a4 |
19 | |
20 | ;(export 'kernel::type-expand-1 "KERNEL") |
21 | |
22 | (defpackage "GLIB" |
3d36c5d6 |
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" |
7d6495a4 |
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" |
6baf860c |
34 | "INITIALIZE-INTERNAL-SLOT-GFS") |
3d36c5d6 |
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") |
a9bb8f02 |
40 | #+cmu(:import-from "C-CALL" "%NATURALIZE-C-STRING" "VOID") |
41 | #+sbcl(:import-from "SB-ALIEN" |
42 | "%NATURALIZE-UTF8-STRING" "%DEPORT-UTF8-STRING" "VOID") |
7d6495a4 |
43 | (:export "DEFTYPE-METHOD" "TRANSLATE-TYPE-SPEC" "TRANSLATE-TO-ALIEN" |
44 | "TRANSLATE-FROM-ALIEN" "CLEANUP-ALIEN" "UNREFERENCE-ALIEN" |
81c02729 |
45 | "SIZE-OF" "UNBOUND-VALUE") |
7d6495a4 |
46 | (:export "DEFBINDING" "DEFINE-FOREIGN" "MKBINDING" "USE-PREFIX" |
3d36c5d6 |
47 | "PACKAGE-PREFIX" "DEFCALLBACK" "CALLBACK") |
7d6495a4 |
48 | (:export "LONG" "UNSIGNED-LONG" "INT" "UNSIGNED-INT" "SHORT" "UNSIGNED-SHORT" |
3d36c5d6 |
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")) |
7d6495a4 |
54 | |