chiark / gitweb /
New function PIXBUF-GET-FROM-DRAWABLE
[clg] / gffi / defpackage.lisp
CommitLineData
b286c6ed 1;; Common Lisp bindings for GTK+ v2.x
2;; Copyright 2006 Espen S. Johnsen <espen@users.sf.net>
3;;
4;; Permission is hereby granted, free of charge, to any person obtaining
5;; a copy of this software and associated documentation files (the
6;; "Software"), to deal in the Software without restriction, including
7;; without limitation the rights to use, copy, modify, merge, publish,
8;; distribute, sublicense, and/or sell copies of the Software, and to
9;; permit persons to whom the Software is furnished to do so, subject to
10;; the following conditions:
11;;
12;; The above copyright notice and this permission notice shall be
13;; included in all copies or substantial portions of the Software.
14;;
15;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18;; IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19;; CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
23;; $Id: defpackage.lisp,v 1.1 2006-04-25 20:29:14 espen Exp $
24
25(defpackage "GFFI"
26 (:use "COMMON-LISP" "AUTOEXPORT" "PKG-CONFIG" "CLG-UTILS")
27 #+cmu(:use "SYSTEM" "KERNEL" "PCL" "EXT")
28 #+sbcl(:use "SB-SYS" "SB-KERNEL" "SB-MOP" "SB-EXT")
29 #+clisp(:use "CLOS" "EXT")
30 #+(or cmu sbcl)(:shadow "POINTER")
31 #+cmu(:shadowing-import-from "PCL" "CLASS-DIRECT-SUPERCLASSES")
32 #+clisp(:shadow "TYPE-EXPAND-1" "SLOT-DEFINITION-TYPE")
33 #+(or cmu sbcl)
34 (:import-from #+cmu"PCL" #+sbcl"SB-PCL"
35 "READER-FUNCTION" "WRITER-FUNCTION" "BOUNDP-FUNCTION"
36 "INITIALIZE-INTERNAL-SLOT-FUNCTIONS" "COMPUTE-SLOT-ACCESSOR-INFO"
37 "COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS"
38 #?-(pkg-config:sbcl>= 0 9 8)"INITIALIZE-INTERNAL-SLOT-GFS")
39 #+cmu(:import-from "ALIEN" "CALLBACK")
40 #+(or cmu sbcl)
41 (:import-from #+cmu"ALIEN" #+sbcl"SB-ALIEN"
42 "WITH-ALIEN" "ALIEN-FUNCALL" "%HEAP-ALIEN" "MAKE-HEAP-ALIEN-INFO"
43 "ADDR" "PARSE-ALIEN-TYPE" "SYSTEM-AREA-POINTER" "EXTERN-ALIEN"
44 "ALIEN-SAP")
45 #+cmu(:import-from "C-CALL" "VOID" "C-STRING")
46 #+sbcl(:import-from "SB-ALIEN" "VOID" "C-STRING")
47 ;; Symbols from memory.lisp
48 (:export "MAKE-POINTER" "POINTER-ADDRESS" "NULL-POINTER-P" "POINTER="
49 "POINTER+" "REF-POINTER" "REF-BYTE" "ALLOCATE-MEMORY"
50 "DEALLOCATE-MEMORY" "COPY-MEMORY" "CLEAR-MEMORY" "MEMORY-CLEAR-P"
51 "WITH-MEMORY" "WITH-POINTER")
52 ;; Symbols from interface.lisp
53 (:export "DEFBINDING" "MKBINDING" "USE-PREFIX" "PACKAGE-PREFIX"
54 "DEFINE-CALLBACK" "CALLBACK" "CALLBACK-ADDRESS"
55 "DEFINE-TYPE-GENERIC" "DEFINE-TYPE-METHOD" "IN-ARG-P" "OUT-ARG-P"
56 "DEFAULT-ALIEN-TYPE-NAME" "DEFAULT-TYPE-NAME" "TYPE-EXPAND"
57 "TYPE-EXPAND-1" "TYPE-EXPAND-TO")
58 ;; Symbols from basic-types.lisp
59 (:export "LONG" "UNSIGNED-LONG" "INT" "UNSIGNED-INT" "SHORT"
60 "UNSIGNED-SHORT" "SIGNED" "UNSIGNED" "CHAR" "POINTER"
61 "BOOL" "COPY-OF" "STATIC" "SIZE-OF" "ALIEN-TYPE" "UNBOUND-VALUE"
62 "ALIEN-ARG-WRAPPER" "TO-ALIEN-FORM" "FROM-ALIEN-FORM"
63 "CALLBACK-WRAPPER" "TO-ALIEN-FUNCTION" "FROM-ALIEN-FUNCTION"
64 "READER-FUNCTION" "WRITER-FUNCTION" "GETTER-FUNCTION"
65 "PEEK-FUNCTION" "DESTROY-FUNCTION" "UNBOUND-VALUE"
66 "COPY-FUNCTION" "ASSERT-INLINED" "ASSERT-NOT-INLINED")
67 ;; Symbols from vector.lisp
68 (:export "MAKE-C-VECTOR" "MAP-C-VECTOR" "WITH-C-VECTOR" "COUNTED-VECTOR"
69 "NULL-TERMINATED-VECTOR")
70 ;; Symbols from enums.lisp
71 (:export "ENUM" "ENUM-INT" "INT-ENUM" "ENUM-MAPPING" "DEFINE-ENUM-TYPE"
72 "FLAGS" "DEFINE-FLAGS-TYPE")
73 ;; Symbols from virtual-slots.lisp
74 (:export "VIRTUAL-SLOTS-CLASS" "DIRECT-VIRTUAL-SLOT-DEFINITION"
75 "EFFECTIVE-VIRTUAL-SLOT-DEFINITION" "DIRECT-SPECIAL-SLOT-DEFINITION"
76 "EFFECTIVE-SPECIAL-SLOT-DEFINITION" "COMPUTE-MOST-SPECIFIC-INITARGS"
77 "MOST-SPECIFIC-SLOT-VALUE" "VIRTUAL-SLOTS-OBJECT"
78 "COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS" "BOUNDP-FUNCTION"
79 "COMPUTE-SLOT-READER-FUNCTION" "COMPUTE-SLOT-BOUNDP-FUNCTION"
80 "COMPUTE-SLOT-WRITER-FUNCTION" "COMPUTE-SLOT-MAKUNBOUND-FUNCTION"
81 #+clisp"SLOT-DEFINITION-TYPE")
82 ;; Symbols from proxy.lisp
83 (:export "CACHE-INSTANCE" "FIND-CACHED-INSTANCE" "LIST-CACHED-INSTANCES"
84 "REMOVE-CACHED-INSTANCE" "PROXY" "INSTANCE-FINALIZER"
85 "REFERENCE-FUNCTION" "UNREFERENCE-FUNCTION" "INVALIDATE-INSTANCE"
86 "ALLOCATE-FOREIGN" "FOREIGN-LOCATION" "PROXY-VALID-P"
87 "MOST-SPECIFIC-PROXY-SUPERCLASS" "DIRECT-PROXY-SUPERCLASS"
88 "PROXY-CLASS" "FOREIGN-SIZE-P" "DIRECT-ALIEN-SLOT-DEFINITION"
89 "EFFECTIVE-ALIEN-SLOT-DEFINITION" "FOREIGN-SIZE" "REF" "UNREF"
90 "ENSURE-PROXY-INSTANCE" "MAKE-PROXY-INSTANCE" "STRUCT"
91 "STRUCT-CLASS" "STATIC-STRUCT-CLASS" "INLINED"))