summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/typelib-format.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/typelib-format.txt b/docs/typelib-format.txt
index d7cfedae..895c1f0d 100644
--- a/docs/typelib-format.txt
+++ b/docs/typelib-format.txt
@@ -302,7 +302,7 @@ arguments:
An array of ArgBlob for the arguments of the function.
-FunctionBlob (16 bytes)
+FunctionBlob (20 bytes)
struct FunctionBlob
{
@@ -313,12 +313,14 @@ struct FunctionBlob
guint is_getter : 1;
guint is_constructor : 1;
guint wraps_vfunc : 1;
- guint reserved : 1;
+ guint throws : 1;
guint index :10;
guint32 name;
guint32 c_name;
guint32 signature;
+ guint is_static : 1;
+ guint reserved : 31;
}
c_name: The symbol which can be used to obtain the function pointer with
@@ -352,6 +354,10 @@ signature:
Offset of the SignatureBlob describing the parameter types and the
return value type.
+is_static
+ The function is a "static method"; in other words it's a pure
+ function whose name is conceptually scoped to the object.
+
CallbackBlob (12 bytes)