diff options
author | Colin Walters <walters@verbum.org> | 2008-11-25 22:29:20 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-11-25 22:29:20 +0000 |
commit | 792c394d3b0350652291f2f93f9d769c3a03024e (patch) | |
tree | ca01bd0a4ad24825e7470f8a5e187a5d82844f7b /docs | |
parent | 620a59eec01141746f560a3b37357b838a47177a (diff) | |
download | gobject-introspection-792c394d3b0350652291f2f93f9d769c3a03024e.tar.gz |
Bug 559705 – Missing association between static methods and classes
2008-11-25 Colin Walters <walters@verbum.org>
Bug 559705 – Missing association between static methods and classes
* docs/typelib-format.txt:
* girepository/ginfo.c (g_function_info_get_flags):
* girepository/girmodule.c (g_ir_module_build_typelib):
* girepository/girnode.c (g_ir_node_get_size),
(g_ir_node_build_typelib):
* girepository/girparser.c (start_function):
* girepository/gtypelib.c (g_typelib_check_sanity),
(validate_header), (validate_function_blob):
* girepository/gtypelib.h:
* giscanner/ast.py:
* giscanner/girwriter.py:
* giscanner/glibtransformer.py:
* tests/scanner/foo-1.0-expected.gir:
* tests/scanner/foo-1.0-expected.tgir:
* tests/scanner/foo.h:
svn path=/trunk/; revision=972
Diffstat (limited to 'docs')
-rw-r--r-- | docs/typelib-format.txt | 10 |
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) |