Coverage report: /home/ellis/comp/core/ffi/glib/pkg.lisp
Kind | Covered | All | % |
expression | 1 | 30 | 3.3 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; pkg.lisp --- Glib FFI
7
(:use :cl :std :sb-alien)
22
(define-alien-loader glib "/usr/lib/" "glib-2.0")
24
(define-alien-type gtype unsigned)
26
(define-alien-type gtype-interface (* t))
28
(define-alien-type gdestroy-notify (* t))
30
(define-opaque gmainloop)
31
(define-opaque gmaincontext)
32
(define-opaque gobjectgroup)
34
(define-opaque gvalue)
35
(define-opaque gobject)
36
(define-alien-type gthread (* t))
37
(define-alien-type ghook-list (* t))
38
(define-alien-type ginitially-unowned (* t))
39
(define-alien-type gmutex (* t))
40
(define-alien-type gpointer (* t))
42
(define-alien-type gcond
45
(i (array unsigned-int 2))))
48
(define-alien-type glist-t
54
(define-alien-type grec-mutex
57
(i (array unsigned-int 2))))
59
(defar g-main-loop-new (* gmainloop) (context (* gmaincontext)) (is-running boolean))
61
(define-alien-type gquark (unsigned 32))
62
(define-alien-type gerror (struct gerror
67
(define-alien-type goptioncontext (* t))
68
(define-alien-type goptiongroup (* t))
69
(define-alien-type goptionentry (* t))
71
(define-alien-enum (goption-flags int)
78
:optional-arg (ash 1 5)
81
(define-alien-enum (goption-arg int)
92
(defar g-option-error-quark gquark)
94
(defar g-object-getv void
97
(names (* c-string)) ;; array