sparsefile: sprinkle G_BEGIN_DECLS / G_END_DECLS

for c++, and remove outdated comment, and add
new unit test to .gitignore.
This commit is contained in:
Tim-Philipp Müller 2014-05-08 16:25:55 +01:00
parent 3d69028797
commit 4a6ab37591
3 changed files with 6 additions and 5 deletions

View file

@ -1,8 +1,6 @@
/* GStreamer
* Copyright (C) 2014 Wim Taymans <wtaymans@redhat.com>
*
* gstcahcefile.c:
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either

View file

@ -1,8 +1,6 @@
/* GStreamer
* Copyright (C) 2014 Wim Taymans <wtaymans@redhat.com>
*
* gstcahcefile.h:
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
@ -24,6 +22,8 @@
#ifndef __GST_SPARSE_FILE_H__
#define __GST_SPARSE_FILE_H__
G_BEGIN_DECLS
typedef struct _GstSparseFile GstSparseFile;
GstSparseFile * gst_sparse_file_new (void);
@ -47,11 +47,13 @@ gsize gst_sparse_file_read (GstSparseFile *file,
GError **error);
guint gst_sparse_file_n_ranges (GstSparseFile *file);
gboolean gst_sparse_file_get_range_before (GstSparseFile *file, gsize offset,
gsize *start, gsize *stop);
gboolean gst_sparse_file_get_range_after (GstSparseFile *file, gsize offset,
gsize *start, gsize *stop);
G_END_DECLS
#endif /* __GST_SPARSE_FILE_H__ */

View file

@ -17,6 +17,7 @@ gstnetclientclock
gstnettimeprovider
gsttestclock
libsabi
sparsefile
transform1
typefindhelper
queuearray