• Niels De Graef's avatar
    Don't pass default GLib marshallers for signals · 0314b482
    Niels De Graef authored
    By passing NULL to `g_signal_new` instead of a marshaller, GLib will
    actually internally optimize the signal (if the marshaller is available
    in GLib itself) by also setting the valist marshaller. This makes the
    signal emission a bit more performant than the regular marshalling,
    which still needs to box into `GValue` and call libffi in case of a
    generic marshaller.
    
    Note that for custom marshallers, one would use
    `g_signal_set_va_marshaller()` with the valist marshaller instead.
    0314b482
Name
Last commit
Last update
..
alsa Loading commit data...
cdparanoia Loading commit data...
gl Loading commit data...
libvisual Loading commit data...
ogg Loading commit data...
opus Loading commit data...
pango Loading commit data...
theora Loading commit data...
vorbis Loading commit data...
Makefile.am Loading commit data...
meson.build Loading commit data...