summaryrefslogtreecommitdiff
path: root/liboil/liboilcpu.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2007-05-15 06:13:32 +0000
committerDavid Schleef <ds@schleef.org>2007-05-15 06:13:32 +0000
commite4d7d00c967e39ac18214fa547dd2acf894ae294 (patch)
tree6c436912a1797f951565180dd44b059ecd1ac955 /liboil/liboilcpu.h
parent24ef59e03881e228d9d6ce77acc5c0e8926a08b6 (diff)
downloadliboil-e4d7d00c967e39ac18214fa547dd2acf894ae294.tar.gz
* HACKING:
Patch from Stephane Fillod <f8cfe@free.fr> * liboil/liboil.h: * liboil/liboilcolorspace.h: * liboil/liboilcpu.h: * liboil/liboildebug.h: * liboil/liboilfunction.h: * liboil/liboilgcc.h: * liboil/liboilparameter.h: * liboil/liboilprofile.h: * liboil/liboilprototype.h: * liboil/liboilrandom.h: * liboil/liboiltest.h: * liboil/liboiltypes.h: Add C++ wrappers everywhere. * m4/as-libtool.m4: Fix macro.
Diffstat (limited to 'liboil/liboilcpu.h')
-rw-r--r--liboil/liboilcpu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/liboil/liboilcpu.h b/liboil/liboilcpu.h
index 7ff1fb5..2175ac6 100644
--- a/liboil/liboilcpu.h
+++ b/liboil/liboilcpu.h
@@ -28,6 +28,10 @@
#ifndef _LIBOIL_CPU_H_
#define _LIBOIL_CPU_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void _oil_cpu_init (void);
unsigned int oil_cpu_get_flags (void);
@@ -38,5 +42,9 @@ int oil_cpu_fault_check_try (void (*func)(void *), void *priv);
double oil_cpu_get_ticks_per_second (void);
+#ifdef __cplusplus
+}
+#endif
+
#endif