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
76bc28ab
Commit
76bc28ab
authored
Jan 15, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fifo_buffer: add extern "C"
parent
f47f86ef
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
ClientNew.cxx
src/ClientNew.cxx
+1
-1
ClientRead.cxx
src/ClientRead.cxx
+0
-3
InotifySource.cxx
src/InotifySource.cxx
+0
-4
fifo_buffer.h
src/fifo_buffer.h
+8
-0
No files found.
src/ClientNew.cxx
View file @
76bc28ab
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
#include "ClientList.hxx"
#include "ClientList.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "fd_util.h"
#include "fd_util.h"
extern
"C"
{
#include "fifo_buffer.h"
#include "fifo_buffer.h"
extern
"C"
{
#include "resolver.h"
#include "resolver.h"
}
}
#include "Permission.hxx"
#include "Permission.hxx"
...
...
src/ClientRead.cxx
View file @
76bc28ab
...
@@ -19,10 +19,7 @@
...
@@ -19,10 +19,7 @@
#include "config.h"
#include "config.h"
#include "ClientInternal.hxx"
#include "ClientInternal.hxx"
extern
"C"
{
#include "fifo_buffer.h"
#include "fifo_buffer.h"
}
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/InotifySource.cxx
View file @
76bc28ab
...
@@ -19,11 +19,7 @@
...
@@ -19,11 +19,7 @@
#include "config.h"
#include "config.h"
#include "InotifySource.hxx"
#include "InotifySource.hxx"
extern
"C"
{
#include "fifo_buffer.h"
#include "fifo_buffer.h"
}
#include "fd_util.h"
#include "fd_util.h"
#include "mpd_error.h"
#include "mpd_error.h"
...
...
src/fifo_buffer.h
View file @
76bc28ab
...
@@ -46,6 +46,10 @@
...
@@ -46,6 +46,10 @@
struct
fifo_buffer
;
struct
fifo_buffer
;
#ifdef __cplusplus
extern
"C"
{
#endif
/**
/**
* Creates a new #fifo_buffer object. Free this object with
* Creates a new #fifo_buffer object. Free this object with
* fifo_buffer_free().
* fifo_buffer_free().
...
@@ -150,4 +154,8 @@ fifo_buffer_is_empty(struct fifo_buffer *buffer);
...
@@ -150,4 +154,8 @@ fifo_buffer_is_empty(struct fifo_buffer *buffer);
bool
bool
fifo_buffer_is_full
(
struct
fifo_buffer
*
buffer
);
fifo_buffer_is_full
(
struct
fifo_buffer
*
buffer
);
#ifdef __cplusplus
}
#endif
#endif
#endif
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