Re: g_signal_emitv -- where is it used in application code?
- From: Stefan Salewski <mail ssalewski de>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: g_signal_emitv -- where is it used in application code?
- Date: Fri, 15 Sep 2017 14:18:06 +0200
On Fri, 2017-09-15 at 12:25 +0100, Emmanuele Bassi wrote:
The g_signal_emitv() function is the vector-based function for
emitting signals in language bindings.
The variadic argument version is a C convenience function, as
functions with variadic arguments are not introspectable.
This is a typical pattern for any GObject-based library; for every
variadic argument function there should be a vector-based one that
can
be used by language bindings.
Ciao,
Emmanuele.
When I provide a Nim version of g_signal_emitv() -- how could I test
it? I am still not aware of a (small) example in any language (C,
Python, Ruby, ...) where it is used.
With Google I found the Perl glue code, but still no test.
https://github.com/GNOME/perl-Glib/blob/master/GSignal.xs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]