Sha256: 967e62c99de36d05ef644b304f96273b69de25efe2ee58d2dcfa636a96c718e5

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/*
 *  Copyright (C) 2019  Ruby-GNOME Project Team
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *  MA  02110-1301  USA
 */

#pragma once

typedef struct RBGICallback_ {
    GIArgInfo *arg_info;
    GITypeInfo *type_info;
    GICallbackInfo *callback_info;
    ffi_cif cif;
    ffi_closure *closure;
} RBGICallback;

G_GNUC_INTERNAL void
rb_gi_callback_init(VALUE rb_mGI);

G_GNUC_INTERNAL gpointer
rb_gi_callback_find(GIArgInfo *info);

G_GNUC_INTERNAL RBGICallbackData *
rb_gi_callback_data_new(RBGIArguments *args,
                        RBGICallback *callback,
                        RBGIArgMetadata *metadata);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gobject-introspection-3.4.4 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-3.4.3 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-3.4.2 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-3.4.1 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-3.4.0 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-3.3.9 ext/gobject-introspection/rb-gi-private-callback.h