Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
1bfa04f8
Commit
1bfa04f8
authored
Jan 28, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InputStream: use gcc.h attributes
parent
98cbc0ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
input_stream.h
src/input_stream.h
+6
-6
No files found.
src/input_stream.h
View file @
1bfa04f8
...
@@ -49,7 +49,7 @@ extern "C" {
...
@@ -49,7 +49,7 @@ extern "C" {
* @return an #input_stream object on success, NULL on error
* @return an #input_stream object on success, NULL on error
*/
*/
gcc_nonnull
(
1
)
gcc_nonnull
(
1
)
G_GNUC_MALLOC
gcc_malloc
struct
input_stream
*
struct
input_stream
*
input_stream_open
(
const
char
*
uri
,
input_stream_open
(
const
char
*
uri
,
Mutex
&
mutex
,
Cond
&
cond
,
Mutex
&
mutex
,
Cond
&
cond
,
...
@@ -157,7 +157,7 @@ input_stream_lock_seek(struct input_stream *is, goffset offset, int whence,
...
@@ -157,7 +157,7 @@ input_stream_lock_seek(struct input_stream *is, goffset offset, int whence,
* The caller must lock the mutex.
* The caller must lock the mutex.
*/
*/
gcc_nonnull
(
1
)
gcc_nonnull
(
1
)
G_GNUC_PURE
gcc_pure
bool
input_stream_eof
(
struct
input_stream
*
is
);
bool
input_stream_eof
(
struct
input_stream
*
is
);
/**
/**
...
@@ -165,7 +165,7 @@ bool input_stream_eof(struct input_stream *is);
...
@@ -165,7 +165,7 @@ bool input_stream_eof(struct input_stream *is);
* the caller must not be holding it already.
* the caller must not be holding it already.
*/
*/
gcc_nonnull
(
1
)
gcc_nonnull
(
1
)
G_GNUC_PURE
gcc_pure
bool
bool
input_stream_lock_eof
(
struct
input_stream
*
is
);
input_stream_lock_eof
(
struct
input_stream
*
is
);
...
@@ -178,7 +178,7 @@ input_stream_lock_eof(struct input_stream *is);
...
@@ -178,7 +178,7 @@ input_stream_lock_eof(struct input_stream *is);
* if the tag has not changed since the last call
* if the tag has not changed since the last call
*/
*/
gcc_nonnull
(
1
)
gcc_nonnull
(
1
)
G_GNUC_MALLOC
gcc_malloc
struct
tag
*
struct
tag
*
input_stream_tag
(
struct
input_stream
*
is
);
input_stream_tag
(
struct
input_stream
*
is
);
...
@@ -187,7 +187,7 @@ input_stream_tag(struct input_stream *is);
...
@@ -187,7 +187,7 @@ input_stream_tag(struct input_stream *is);
* mutex; the caller must not be holding it already.
* mutex; the caller must not be holding it already.
*/
*/
gcc_nonnull
(
1
)
gcc_nonnull
(
1
)
G_GNUC_MALLOC
gcc_malloc
struct
tag
*
struct
tag
*
input_stream_lock_tag
(
struct
input_stream
*
is
);
input_stream_lock_tag
(
struct
input_stream
*
is
);
...
@@ -199,7 +199,7 @@ input_stream_lock_tag(struct input_stream *is);
...
@@ -199,7 +199,7 @@ input_stream_lock_tag(struct input_stream *is);
* The caller must lock the mutex.
* The caller must lock the mutex.
*/
*/
gcc_nonnull
(
1
)
gcc_nonnull
(
1
)
G_GNUC_PURE
gcc_pure
bool
bool
input_stream_available
(
struct
input_stream
*
is
);
input_stream_available
(
struct
input_stream
*
is
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment