Mercurial > core / lisp/ffi/glib/pkg.lisp
changeset 698: |
96958d3eb5b0 |
parent: |
34aaf1f7f1b5
|
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Fri, 04 Oct 2024 22:04:59 -0400 |
permissions: |
-rw-r--r-- |
description: |
fixes |
1 ;;; pkg.lisp --- Glib FFI 7 (:use :cl :std :sb-alien) 12 (define-alien-loader glib t "/usr/lib/" "glib-2.0") 14 (define-alien-type gtype unsigned) 16 (define-alien-type gtype-interface (* t)) 18 (define-alien-type gdestroy-notify (* t)) 21 (define-opaque gmainloop) 22 (define-opaque gmaincontext) 23 (define-opaque gobjectgroup) 24 (define-opaque glist)) 26 (define-alien-type gthread (* t)) 27 (define-alien-type ghook-list (* t)) 28 (define-alien-type ginitially-unowned (* t)) 29 (define-alien-type gmutex (* t)) 30 (define-alien-type gpointer (* t)) 32 (define-alien-type gcond 35 (i (array unsigned-int 2)))) 38 (define-alien-type glist-t 44 (define-alien-type grec-mutex 47 (i (array unsigned-int 2)))) 49 (define-alien-routine g-main-loop-new (* gmainloop) (context (* gmaincontext)) (is-running boolean)) 51 (define-alien-type gquark (unsigned 32)) 52 (define-alien-type gerror (struct gerror 57 (define-opaque goptioncontext (* t)) 58 (define-opaque goptiongroup (* t)) 59 (define-opaque goptionentry (* t)) 61 (define-alien-enum (goption-flags int) 68 :optional-arg (ash 1 5) 71 (define-alien-enum (goption-arg int) 82 (define-alien-routine g-option-error-quark gquark)