[gobject-introspection] Fix typo in async scope description
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Fix typo in async scope description
- Date: Thu, 6 Oct 2022 03:04:47 +0000 (UTC)
commit b03e32ecef658b72bebefcab378e7c9fc70c1296
Author: badcel <33569-badcel users noreply gitlab gnome org>
Date: Mon Sep 5 17:35:26 2022 +0200
Fix typo in async scope description
docs/gir-1.2.rnc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index 10c6927c2..7c398be09 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -525,7 +525,7 @@ 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, "forever" valid until the process terminates.
+ ## 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 invocation (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" }?,
@@ -569,7 +569,7 @@ 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, "forever" valid until the process terminates.
+ ## 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 invocation (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 }?,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]