mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof: fix flags get type generation
This commit is contained in:
@ -143,6 +143,19 @@ if host_machine.system() == 'linux'
|
|||||||
libsysprof_private_sources += ['sysprof-linux-instrument.c']
|
libsysprof_private_sources += ['sysprof-linux-instrument.c']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
libsysprof_enum_headers = [
|
||||||
|
'sysprof-callgraph.h',
|
||||||
|
]
|
||||||
|
|
||||||
|
libsysprof_enums = gnome.mkenums_simple('sysprof-enums',
|
||||||
|
body_prefix: '#include "config.h"',
|
||||||
|
header_prefix: '#include "sysprof-version-macros.h"',
|
||||||
|
decorator: '_SYSPROF_EXTERN',
|
||||||
|
sources: libsysprof_enum_headers,
|
||||||
|
install_header: true,
|
||||||
|
install_dir: sysprof_header_dir,
|
||||||
|
)
|
||||||
|
|
||||||
libsysprof_deps = [
|
libsysprof_deps = [
|
||||||
dependency('gio-2.0', version: glib_req_version),
|
dependency('gio-2.0', version: glib_req_version),
|
||||||
dependency('gio-unix-2.0',
|
dependency('gio-unix-2.0',
|
||||||
@ -163,7 +176,8 @@ libsysprof_deps = [
|
|||||||
libsysprof_static = static_library(
|
libsysprof_static = static_library(
|
||||||
'sysprof-analyze-@0@'.format(soname_major_version),
|
'sysprof-analyze-@0@'.format(soname_major_version),
|
||||||
libsysprof_public_sources +
|
libsysprof_public_sources +
|
||||||
libsysprof_private_sources,
|
libsysprof_private_sources +
|
||||||
|
libsysprof_enums[0],
|
||||||
|
|
||||||
include_directories: [include_directories('.'),
|
include_directories: [include_directories('.'),
|
||||||
libsysprof_capture_include_dirs],
|
libsysprof_capture_include_dirs],
|
||||||
|
|||||||
@ -70,8 +70,6 @@ typedef enum _SysprofCallgraphFlags
|
|||||||
SYSPROF_CALLGRAPH_FLAGS_BOTTOM_UP = 1 << 3,
|
SYSPROF_CALLGRAPH_FLAGS_BOTTOM_UP = 1 << 3,
|
||||||
} SysprofCallgraphFlags;
|
} SysprofCallgraphFlags;
|
||||||
|
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
|
||||||
GType sysprof_callgraph_flags_get_type (void) G_GNUC_CONST;
|
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
GListModel *sysprof_callgraph_list_symbols (SysprofCallgraph *self);
|
GListModel *sysprof_callgraph_list_symbols (SysprofCallgraph *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
sysprof_header_subdir = 'sysprof-@0@'.format(libsysprof_api_version)
|
sysprof_header_subdir = 'sysprof-@0@'.format(libsysprof_api_version)
|
||||||
|
sysprof_header_dir = join_paths(get_option('includedir'), sysprof_header_subdir)
|
||||||
|
|
||||||
sysprof_version_conf = configuration_data()
|
sysprof_version_conf = configuration_data()
|
||||||
sysprof_version = meson.project_version().split('.')
|
sysprof_version = meson.project_version().split('.')
|
||||||
|
|||||||
Reference in New Issue
Block a user