You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/fidlib/files/fidlib-0.9.10-extern.patch

27 lines
501 B

--- a/fidlib.h
+++ b/fidlib.h
@@ -2,6 +2,13 @@
// fidlib include file
//
+#ifndef __FIDLIB_H
+#define __FIDLIB_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct FidFilter FidFilter;
struct FidFilter {
short typ; // Type of filter element 'I' IIR, 'F' FIR, or 0 for end of list
@@ -66,3 +73,9 @@
extern void fid_run_zapbuf(void *buf);
extern void fid_run_freebuf(void *runbuf);
extern void fid_run_free(void *run);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __FIDLIB_H */