mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
f2f0625622
Rather than having bindings use g_function_info_invoke, which is basically a toy/demo API, export a convenience utility function which takes the introspection information and sets up things we need to pass to libffi. Then invocation can be done directly to libffi by a binding. As part of this work, remove some (unused by gjs) public functions from the girffi API, and instead export a function to map to libffi which can work semi-correctly. https://bugzilla.gnome.org/show_bug.cgi?id=604074
39 lines
1012 B
Makefile
39 lines
1012 B
Makefile
include $(top_srcdir)/gcov.mak
|
|
|
|
GCOVSOURCES = $(libgirepository_1_0_la_SOURCES)
|
|
|
|
girepodir = $(includedir)/gobject-introspection-1.0/
|
|
girepo_HEADERS = girepository.h girffi.h
|
|
|
|
lib_LTLIBRARIES = libgirepository-1.0.la
|
|
noinst_LTLIBRARIES = libgirepository-parser.la
|
|
|
|
libgirepository_1_0_la_SOURCES = \
|
|
gdump.c \
|
|
gfield.c \
|
|
ginfo.c \
|
|
ginfo.h \
|
|
ginvoke.c \
|
|
girepository.c \
|
|
girffi.c \
|
|
girffi.h \
|
|
girffi-private.h \
|
|
glib-compat.h \
|
|
gtypelib.c \
|
|
gtypelib.h
|
|
|
|
libgirepository_1_0_la_CPPFLAGS = $(GIREPO_CFLAGS)
|
|
libgirepository_1_0_la_LIBADD = $(GIREPO_LIBS)
|
|
libgirepository_1_0_la_LDFLAGS = -no-undefined
|
|
|
|
libgirepository_parser_la_SOURCES = \
|
|
girmodule.c \
|
|
girmodule.h \
|
|
girnode.c \
|
|
girnode.h \
|
|
giroffsets.c \
|
|
girparser.c \
|
|
girparser.h
|
|
libgirepository_parser_la_CFLAGS = $(GIREPO_CFLAGS)
|
|
|