Build libgirepository as a GLib sub-library

The introspection API has lived out of tree far too long. It has the
same ABI guarantees as the rest of GLib, so it has no reason to be split
from the main library.

The gobject-introspection project can depend on libgirepository, and the
language bindings can drop the gobject-introspection-1.0 dependency.
This commit is contained in:
Emmanuele Bassi
2023-10-16 15:24:08 +01:00
parent 7aafd8c7d7
commit af36393e60
18 changed files with 134 additions and 527 deletions

View File

@@ -70,12 +70,12 @@ ffi_type * gi_type_tag_get_ffi_type (GITypeTag type_tag, gboolean
GI_AVAILABLE_IN_ALL
ffi_type * g_type_info_get_ffi_type (GITypeInfo *info);
GI_AVAILABLE_IN_1_32
GI_AVAILABLE_IN_2_32
void gi_type_info_extract_ffi_return_value (GITypeInfo *return_info,
GIFFIReturnValue *ffi_value,
GIArgument *arg);
GI_AVAILABLE_IN_1_72
GI_AVAILABLE_IN_2_72
void gi_type_tag_extract_ffi_return_value (GITypeTag return_tag,
GIInfoType interface_type,
GIFFIReturnValue *ffi_value,
@@ -86,7 +86,7 @@ gboolean g_function_info_prep_invoker (GIFunctionInfo *info,
GIFunctionInvoker *invoker,
GError **error);
GI_AVAILABLE_IN_1_32
GI_AVAILABLE_IN_2_32
gboolean g_function_invoker_new_for_address (gpointer addr,
GICallableInfo *info,
GIFunctionInvoker *invoker,
@@ -96,28 +96,28 @@ GI_AVAILABLE_IN_ALL
void g_function_invoker_destroy (GIFunctionInvoker *invoker);
GI_DEPRECATED_IN_1_72_FOR(g_callable_info_create_closure)
GI_DEPRECATED_IN_2_72_FOR(g_callable_info_create_closure)
ffi_closure * g_callable_info_prepare_closure (GICallableInfo *callable_info,
ffi_cif *cif,
GIFFIClosureCallback callback,
gpointer user_data);
GI_DEPRECATED_IN_1_72_FOR(g_callable_info_destroy_closure)
GI_DEPRECATED_IN_2_72_FOR(g_callable_info_destroy_closure)
void g_callable_info_free_closure (GICallableInfo *callable_info,
ffi_closure *closure);
GI_AVAILABLE_IN_1_72
GI_AVAILABLE_IN_2_72
ffi_closure * g_callable_info_create_closure (GICallableInfo *callable_info,
ffi_cif *cif,
GIFFIClosureCallback callback,
gpointer user_data);
GI_AVAILABLE_IN_1_72
GI_AVAILABLE_IN_2_72
gpointer * g_callable_info_get_closure_native_address (GICallableInfo *callable_info,
ffi_closure *closure);
GI_AVAILABLE_IN_1_72
GI_AVAILABLE_IN_2_72
void g_callable_info_destroy_closure (GICallableInfo *callable_info,
ffi_closure *closure);