/[cffi-objects]/package.lisp
ViewVC logotype

Contents of /package.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations)
Fri May 4 11:25:20 2012 UTC (23 months, 1 week ago) by rklochkov
File size: 1557 byte(s)
Fixes with GC

1 ;;;; -*- Mode: lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; package.lisp --- Package definition for cffi-object
4 ;;;
5 ;;; Copyright (C) 2007, Roman Klochkov <monk@slavsoft.surgut.ru>
6 ;;;
7 ;;; This library is a CFFI add-on, that support
8 ;;; GLib/GObject/GDK/GTK and similar objects
9
10 (in-package #:cl-user)
11
12 (eval-when (:compile-toplevel :load-toplevel)
13 (let ((p (find-package "CFFI-OBJECTS")))
14 (when p
15 (do-external-symbols (v p)
16 (unexport (list v) p)))))
17
18 (defpackage #:cffi-objects
19 (:use #:common-lisp #:cffi)
20 (:export
21 #:gconstructor
22
23 #:object
24 #:free-after
25 #:find-object
26 #:object-by-id
27 #:*objects*
28 #:*objects-ids*
29 #:object-class
30 #:volatile
31 ;; slots
32 #:pointer
33 ;; methods
34 #:free
35
36
37 #:*array-length*
38 ;; types
39 #:pstring
40 #:pfunction
41 #:cffi-object
42 #:cffi-array
43 #:cffi-null-array
44 #:carray
45 #:null-array
46 #:string-array
47
48 #:struct
49 ; #:cffi-struct
50 #:new-struct
51 #:free-struct
52
53 #:freeable
54 #:freeable-base
55 #:free-sent-if-needed
56 #:free-returned-if-needed
57 #:free-ptr
58 #:freeable-out
59 #:copy-from-foreign
60
61 #:defcstruct-accessors
62 #:defcstruct*
63 #:defbitaccessors
64
65 #:with-foreign-out
66 #:with-foreign-outs
67 #:with-foreign-outs-list
68
69 #:pair
70 #:setf-init
71 #:init-slots
72 #:save-setter
73 #:remove-setter
74 #:clear-setters))
75
76 (eval-when (:compile-toplevel :load-toplevel)
77 (let ((cffi (find-package "CFFI"))
78 (cffi-objects (find-package "CFFI-OBJECTS")))
79 (do-external-symbols (v cffi)
80 (export (list v) cffi-objects))))

  ViewVC Help
Powered by ViewVC 1.1.5