libsysprof-capture: Replace G_BEGIN_DECLS with SYSPROF_BEGIN_DECLS

It does the same job, but doesn’t require GLib.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Helps: #40
This commit is contained in:
Philip Withnall
2020-07-01 16:39:06 +01:00
parent 8e28ac6e81
commit 41ec04ea99
13 changed files with 99 additions and 24 deletions

View File

@ -57,8 +57,9 @@
#pragma once
#include "sysprof-capture-types.h"
#include "sysprof-macros.h"
G_BEGIN_DECLS
SYSPROF_BEGIN_DECLS
SYSPROF_AVAILABLE_IN_3_36
void sysprof_collector_init (void);
@ -86,4 +87,4 @@ void sysprof_collector_log_printf (int severity,
const char *format,
...) G_GNUC_PRINTF (3, 4);
G_END_DECLS
SYSPROF_END_DECLS