Christoph Reiter
cff8329f70
build: enable -Wredundant-decls
...
The ffi decls were added in cbdd9ee09e367e4dd to work around broken
ffi headers. Let's assume this is fixed now.
2018-07-29 18:57:03 +02:00
Colin Walters
4779b03a21
girepository: Use g_atomic for refcounting
...
They could be freed in separate threads (e.g. language binding GC
thread). But no particular reason to change other than noticing it
during code inspection for a different bug.
https://bugzilla.gnome.org/show_bug.cgi?id=688694
2013-04-02 12:10:33 -04:00
Tomeu Vizoso
320fd24734
Make g_callable_info_invoke public
...
So it can be used for invoking callbacks
https://bugzilla.gnome.org/show_bug.cgi?id=663052
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2012-03-27 17:42:30 +02:00
Colin Walters
e865dcb7b4
Add Emacs mode lines to C sources
2012-02-03 13:42:56 -05:00
Tomeu Vizoso
95cf1ef4d6
Add g_vfunc_info_invoke and g_vfunc_info_get_address
...
for calling the native implementation of a virtual function. Refactors
the code common with g_function_info_invoke in _g_callable_info_invoke.
https://bugzilla.gnome.org/show_bug.cgi?id=637145
2011-01-12 20:05:09 +01:00
Colin Walters
e6bb30500c
Export gi_type_tag_get_ffi_type
...
This is needed by the offsets code, and is generally useful. We
need to export it for a future patch which won't export symbols
with a leading _.
2010-11-09 17:07:26 -05:00
Johan Dahlin
14edb06326
[GIRepository] Rename GTypelib to GITypelib
...
Keep a typedef for backwards compatibility, until
the major bindings has moved over.
2010-08-31 17:37:10 -03:00
Johan Dahlin
899718c93c
[girepository-private] Add ffi declarations
...
Add declarations for the ffi closure api we're using, this silents
GCC warnings on systems with broken ffi headers.
2010-07-28 09:01:33 -03:00
Johan Dahlin
6b4647c088
[girepository] Kill girffi-private.h
2010-06-06 23:22:57 -03:00
Johan Dahlin
c223abfa36
[girepository] Move the rest out of ginfo.ch
2010-06-06 19:54:53 -03:00
Johan Dahlin
292033c7dc
[girepository] Move GICallableInfo out of ginfo.ch
2010-06-05 12:40:28 -03:00
Johan Dahlin
6436e013c9
[girepository] Fix the remaning headers as well
2010-06-01 10:23:46 -03:00
Johan Dahlin
6edee7684c
[girepository] Fix include path
...
We're installing the headers without the girepository/ prefix,
so remove that in all internal headers to not break the out of
tree scanning.
2010-06-01 10:15:12 -03:00
Johan Dahlin
67126e38d4
[girepository] Split out GIBaseInfo
...
Split out GIBaseInfo to a separate source file.
Move out definitions to gibaseinfo.h/gitypelib.h/gitypes.h
and girepository-private.h
Install gibaseinfo.h/gitypelib.h and gitypes.h as well, but
require users to include girepository.h
2010-05-31 17:47:45 -03:00