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

Contents of /package.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (hide annotations)
Sun Jul 29 16:11:18 2012 UTC (20 months, 2 weeks ago) by rklochkov
File size: 1595 byte(s)
Added cffi-keyword and cffi-pathname

1 rklochkov 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 rklochkov 3 #:free-after
25 rklochkov 2 #:find-object
26 rklochkov 1 #:object-by-id
27     #:*objects*
28     #:*objects-ids*
29 rklochkov 2 #:object-class
30     #:volatile
31 rklochkov 1 ;; slots
32     #:pointer
33     ;; methods
34     #:free
35    
36 rklochkov 2
37     #:*array-length*
38 rklochkov 1 ;; types
39     #:pstring
40     #:pfunction
41     #:cffi-object
42 rklochkov 2 #:cffi-array
43     #:cffi-null-array
44     #:carray
45     #:null-array
46     #:string-array
47 rklochkov 1
48 rklochkov 6 #:cffi-keyword
49     #:cffi-pathname
50    
51 rklochkov 1 #:struct
52     ; #:cffi-struct
53     #:new-struct
54     #:free-struct
55    
56     #:freeable
57     #:freeable-base
58     #:free-sent-if-needed
59     #:free-returned-if-needed
60     #:free-ptr
61     #:freeable-out
62     #:copy-from-foreign
63    
64     #:defcstruct-accessors
65     #:defcstruct*
66     #:defbitaccessors
67    
68     #:with-foreign-out
69     #:with-foreign-outs
70     #:with-foreign-outs-list
71    
72     #:pair
73     #:setf-init
74     #:init-slots
75     #:save-setter
76     #:remove-setter
77     #:clear-setters))
78    
79     (eval-when (:compile-toplevel :load-toplevel)
80     (let ((cffi (find-package "CFFI"))
81     (cffi-objects (find-package "CFFI-OBJECTS")))
82     (do-external-symbols (v cffi)
83     (export (list v) cffi-objects))))

  ViewVC Help
Powered by ViewVC 1.1.5