input_internal.h: add extern "C"
This commit is contained in:
		@@ -24,11 +24,7 @@
 | 
				
			|||||||
#include "tag.h"
 | 
					#include "tag.h"
 | 
				
			||||||
#include "IcyMetaDataParser.hxx"
 | 
					#include "IcyMetaDataParser.hxx"
 | 
				
			||||||
#include "event/MultiSocketMonitor.hxx"
 | 
					#include "event/MultiSocketMonitor.hxx"
 | 
				
			||||||
 | 
					 | 
				
			||||||
extern "C" {
 | 
					 | 
				
			||||||
#include "input_internal.h"
 | 
					#include "input_internal.h"
 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "event/Loop.hxx"
 | 
					#include "event/Loop.hxx"
 | 
				
			||||||
#include "IOThread.hxx"
 | 
					#include "IOThread.hxx"
 | 
				
			||||||
#include "glib_compat.h"
 | 
					#include "glib_compat.h"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,11 +20,7 @@
 | 
				
			|||||||
#include "config.h"
 | 
					#include "config.h"
 | 
				
			||||||
#include "SoupInputPlugin.hxx"
 | 
					#include "SoupInputPlugin.hxx"
 | 
				
			||||||
#include "input_plugin.h"
 | 
					#include "input_plugin.h"
 | 
				
			||||||
 | 
					 | 
				
			||||||
extern "C" {
 | 
					 | 
				
			||||||
#include "input_internal.h"
 | 
					#include "input_internal.h"
 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "IOThread.hxx"
 | 
					#include "IOThread.hxx"
 | 
				
			||||||
#include "event/Loop.hxx"
 | 
					#include "event/Loop.hxx"
 | 
				
			||||||
#include "conf.h"
 | 
					#include "conf.h"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,6 +27,10 @@
 | 
				
			|||||||
struct input_stream;
 | 
					struct input_stream;
 | 
				
			||||||
struct input_plugin;
 | 
					struct input_plugin;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef __cplusplus
 | 
				
			||||||
 | 
					extern "C" {
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
input_stream_init(struct input_stream *is, const struct input_plugin *plugin,
 | 
					input_stream_init(struct input_stream *is, const struct input_plugin *plugin,
 | 
				
			||||||
		  const char *uri, GMutex *mutex, GCond *cond);
 | 
							  const char *uri, GMutex *mutex, GCond *cond);
 | 
				
			||||||
@@ -40,4 +44,8 @@ input_stream_signal_client(struct input_stream *is);
 | 
				
			|||||||
void
 | 
					void
 | 
				
			||||||
input_stream_set_ready(struct input_stream *is);
 | 
					input_stream_set_ready(struct input_stream *is);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef __cplusplus
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user