summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Tiede <mt-dev@tiede.org>2022-01-16 15:51:23 +0000
committerMarcel Tiede <mt-dev@tiede.org>2022-01-16 15:51:23 +0000
commit70aa8f521f10d64f0e3c26e9b572058410478f80 (patch)
tree1d5875f45f37abe6ca5981e28f572bc47d69bbb1
parentc2579c71222c181068b5aaf795aa0f1e8909d89e (diff)
downloadgobject-introspection-70aa8f521f10d64f0e3c26e9b572058410478f80.tar.gz
Add forever scope
-rw-r--r--docs/gir-1.2.rnc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index f5728810..5ff101e1 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -524,8 +524,8 @@ grammar {
attribute closure { xsd:integer }?,
## the parameter is a destroy_data for callbacks. The value points to a different parameter that is the actual callback
attribute destroy { xsd:integer }?,
- ## the parameter is a callback, the value indicates the lifetime of the call. For language bindings which want to know when the resources required to do the call can be freed. "notified" valid until a GDestroyNotify argument is called, "async" only valid for the duration of the first callback invocationi (can only be called once), "call" only valid for the duration of the call, can be called multiple times during the call.
- attribute scope { "notified" | "async" | "call" }?,
+ ## the parameter is a callback, the value indicates the lifetime of the call. For language bindings which want to know when the resources required to do the call can be freed. "notified" valid until a GDestroyNotify argument is called, "async" only valid for the duration of the first callback invocationi (can only be called once), "call" only valid for the duration of the call, can be called multiple times during the call, "forever" valid until the process terminates.
+ attribute scope { "notified" | "async" | "call" | "forever" }?,
## direction of the parameter. "in" goes into the callable, "out" for output parameters from the callable (reference in C++, var in Pascal, etc...), "inout" for both (like a pre-allocated structure which will be filled-in by the callable)
attribute direction { "out" | "in" | "inout" }?,
## Binary attribute, true if the caller should allocate the parameter before calling the callable
@@ -568,8 +568,8 @@ grammar {
attribute nullable { "0" | "1" }?,
## the parameter is a user_data for callbacks. The value points to a different parameter that is the actual callback
attribute closure { xsd:integer }?,
- ## the parameter is a callback, the value indicates the lifetime of the call. For language bindings which want to know when the resources required to do the call can be freed. "notified" valid until a GDestroyNotify argument is called, "async" only valid for the duration of the first callback invocationi (can only be called once), "call" only valid for the duration of the call, can be called multiple times during the call.
- attribute scope { "notified" | "async" | "call" }?,
+ ## the parameter is a callback, the value indicates the lifetime of the call. For language bindings which want to know when the resources required to do the call can be freed. "notified" valid until a GDestroyNotify argument is called, "async" only valid for the duration of the first callback invocationi (can only be called once), "call" only valid for the duration of the call, can be called multiple times during the call, "forever" valid until the process terminates.
+ attribute scope { "notified" | "async" | "call" | "forever" }?,
## the parameter is a destroy_data for callbacks. The value points to a different parameter that is the actual callback
attribute destroy { xsd:integer }?,
## Binary attribute, true if the parameter can be omitted from the introspected output