[Liboil] liboil patch needed for C++ applications

Stephane Fillod f8cfe at free.fr
Wed Dec 21 12:29:05 PST 2005


Subject says it all:

diff -u -b -B -w -p -r1.12 liboil.h
--- liboil/liboil.h     10 Dec 2005 19:35:11 -0000      1.12
+++ liboil/liboil.h     21 Dec 2005 20:21:19 -0000
@@ -32,8 +32,16 @@

 #include <liboil/liboilfuncs.h>

+#ifdef __cplusplus
+extern "C" {
+#endif
+
 void oil_init (void);

+#ifdef __cplusplus
+}
+#endif
+
 /**
  * oil_memcpy:
  * @dest:

-- 
Stephane


More information about the Liboil mailing list