mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
3d69028797
commit
4a6ab37591
3 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
||||||
/* GStreamer
|
/* GStreamer
|
||||||
* Copyright (C) 2014 Wim Taymans <wtaymans@redhat.com>
|
* Copyright (C) 2014 Wim Taymans <wtaymans@redhat.com>
|
||||||
*
|
*
|
||||||
* gstcahcefile.c:
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
* License as published by the Free Software Foundation; either
|
* License as published by the Free Software Foundation; either
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
/* GStreamer
|
/* GStreamer
|
||||||
* Copyright (C) 2014 Wim Taymans <wtaymans@redhat.com>
|
* Copyright (C) 2014 Wim Taymans <wtaymans@redhat.com>
|
||||||
*
|
*
|
||||||
* gstcahcefile.h:
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
* License as published by the Free Software Foundation; either
|
* License as published by the Free Software Foundation; either
|
||||||
|
@ -24,6 +22,8 @@
|
||||||
#ifndef __GST_SPARSE_FILE_H__
|
#ifndef __GST_SPARSE_FILE_H__
|
||||||
#define __GST_SPARSE_FILE_H__
|
#define __GST_SPARSE_FILE_H__
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GstSparseFile GstSparseFile;
|
typedef struct _GstSparseFile GstSparseFile;
|
||||||
|
|
||||||
GstSparseFile * gst_sparse_file_new (void);
|
GstSparseFile * gst_sparse_file_new (void);
|
||||||
|
@ -47,11 +47,13 @@ gsize gst_sparse_file_read (GstSparseFile *file,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
guint gst_sparse_file_n_ranges (GstSparseFile *file);
|
guint gst_sparse_file_n_ranges (GstSparseFile *file);
|
||||||
|
|
||||||
gboolean gst_sparse_file_get_range_before (GstSparseFile *file, gsize offset,
|
gboolean gst_sparse_file_get_range_before (GstSparseFile *file, gsize offset,
|
||||||
gsize *start, gsize *stop);
|
gsize *start, gsize *stop);
|
||||||
|
|
||||||
gboolean gst_sparse_file_get_range_after (GstSparseFile *file, gsize offset,
|
gboolean gst_sparse_file_get_range_after (GstSparseFile *file, gsize offset,
|
||||||
gsize *start, gsize *stop);
|
gsize *start, gsize *stop);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GST_SPARSE_FILE_H__ */
|
#endif /* __GST_SPARSE_FILE_H__ */
|
||||||
|
|
1
tests/check/libs/.gitignore
vendored
1
tests/check/libs/.gitignore
vendored
|
@ -17,6 +17,7 @@ gstnetclientclock
|
||||||
gstnettimeprovider
|
gstnettimeprovider
|
||||||
gsttestclock
|
gsttestclock
|
||||||
libsabi
|
libsabi
|
||||||
|
sparsefile
|
||||||
transform1
|
transform1
|
||||||
typefindhelper
|
typefindhelper
|
||||||
queuearray
|
queuearray
|
||||||
|
|
Loading…
Reference in a new issue