summaryrefslogtreecommitdiff
path: root/docs/gir-1.2.rnc
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-06-23 19:12:18 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-08-05 18:22:47 +0100
commit3490687771781b70391456d1828911cf79bcfd69 (patch)
tree29a101346e188a2ed77e2a868700694641d656d2 /docs/gir-1.2.rnc
parente79ea48ac3fa5db8a3042b7ff2bc0c3976833f51 (diff)
downloadgobject-introspection-3490687771781b70391456d1828911cf79bcfd69.tar.gz
scanner: Add (emitter) annotation for signals
Signals that have an emitter function should have an annotation to allow consumers of the introspection XML to effectively pair signals to their corresponding emitter functions that share the same prototype.
Diffstat (limited to 'docs/gir-1.2.rnc')
-rw-r--r--docs/gir-1.2.rnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index 4244532e..ef7f038b 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -375,6 +375,8 @@ grammar {
attribute no-hooks { "0" | "1" }?,
## Binary attribute, true if signals emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted (https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags)
attribute no-recurse { "0" | "1" }?,
+ ## The emitter method for the signal
+ attribute emitter { xsd:string }?,
# Other elements a property can contain
(Info.elements