mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -24,7 +24,9 @@
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
#include "sysprof-macros.h"
|
||||
|
||||
SYSPROF_BEGIN_DECLS
|
||||
|
||||
typedef struct _MappedRingBuffer MappedRingBuffer;
|
||||
|
||||
@ -82,4 +84,4 @@ bool mapped_ring_buffer_drain (MappedRingBuffer
|
||||
G_GNUC_INTERNAL
|
||||
bool mapped_ring_buffer_is_empty (MappedRingBuffer *self);
|
||||
|
||||
G_END_DECLS
|
||||
SYSPROF_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user