summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-10-08 12:01:57 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-10-08 12:01:57 +0100
commit995a141b378030110202483b9f8f9c91a3e785aa (patch)
tree9b489634dffb74e97974d81d7abb95627e4e2e1d /examples
parent24d6578b4aaa0280cf0ad5ee410425894507c803 (diff)
downloadgobject-introspection-995a141b378030110202483b9f8f9c91a3e785aa.tar.gz
scanner: Aliases of gpointer are pointerspointer-aliases
If we have a type alias defined as: typedef gpointer FooPointer and we use it inside our API like: Bar* foo_pointer_get_bar (FooPointer self) then we want `foo_pointer_get_bar` to be detected as a method of `FooPointer`, instead of a global function that takes a `FooPointer` as its only argument. This requires checking if the first argument is a pointer type *or* an alias to `gpointer`.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions