diff options
author | dos-reis <gdr@axiomatics.org> | 2008-09-25 04:59:08 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-09-25 04:59:08 +0000 |
commit | e0c8f3d8155dabb7d7d54e426f56febfab77ee92 (patch) | |
tree | 4240cc0b9ec9eb01a4bf3e067a13cc74d6c7d403 /src/include/open-axiom.h | |
parent | e2b728ff9a53eb2ff4518ad10beb649b5e636f74 (diff) | |
download | open-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.h | 9 |
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 */ |