aboutsummaryrefslogtreecommitdiff
path: root/src/include/open-axiom.h
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-09-25 04:59:08 +0000
committerdos-reis <gdr@axiomatics.org>2008-09-25 04:59:08 +0000
commite0c8f3d8155dabb7d7d54e426f56febfab77ee92 (patch)
tree4240cc0b9ec9eb01a4bf3e067a13cc74d6c7d403 /src/include/open-axiom.h
parente2b728ff9a53eb2ff4518ad10beb649b5e636f74 (diff)
downloadopen-axiom-e0c8f3d8155dabb7d7d54e426f56febfab77ee92.tar.gz
* include/cfuns.h (oa_copy_file): Declare.
* lib/cfuns-c.c (oa_chdir): Define. (oa_dirname): Fix typo. * hyper/htadd.c (copy_file): Remove. (build_db_filename): Tidy. (delete_file): Use oa_copy_file.
Diffstat (limited to 'src/include/open-axiom.h')
-rw-r--r--src/include/open-axiom.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h
index 19cbfedf..cae21d08 100644
--- a/src/include/open-axiom.h
+++ b/src/include/open-axiom.h
@@ -65,6 +65,10 @@ typedef void* openaxiom_handle;
#include <unistd.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Do we have graphics support? */
#ifdef X_DISPLAY_MISSING
# define OPENAXIOM_HAVE_GRAPHICS 0
@@ -94,4 +98,9 @@ openaxiom_sleep(int n)
#endif
}
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* OPENAXIOM_included */