Sha256: 4835b1671111df2fcbe71b4838c46eef04772ecac27cfc7961f92f19ddfb2edf

Contents?: true

Size: 1.5 KB

Versions: 26

Compression:

Stored size: 1.5 KB

Contents

/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/*
 *  Copyright (C) 2019-2022  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;
    GICallbackInfo *callback_info;
    gchar *method_name;
    ffi_cif cif;
    ffi_closure *closure;
    gpointer *closure_native_address;
} 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 RBGICallback *
rb_gi_callback_new(GICallbackInfo *callback_info,
                   const gchar *method_name);

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
gobject-introspection-4.2.7 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.2.6 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.2.5 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.2.4 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.2.3 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.2.2 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.2.1 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.2.0 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.9 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.8 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.7 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.6 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.5 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.4 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.3 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.2 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.1 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.1.0 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.0.9 ext/gobject-introspection/rb-gi-private-callback.h
gobject-introspection-4.0.8 ext/gobject-introspection/rb-gi-private-callback.h