diff options
author | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2000-09-28 10:05:44 +0000 |
---|---|---|
committer | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2000-09-28 10:05:44 +0000 |
commit | a6cb30fcdad80bf1580f7aa64eb324348e8a42ed (patch) | |
tree | ca20dd5d35be05d7dce21474564595076b695d7d | |
parent | 445065229e540e8fc9099a4ebc3ec1d8a57e6b31 (diff) |
Put an "extern "C"" around C function prototypes.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@7 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r-- | src/IOProtos.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/IOProtos.h b/src/IOProtos.h index e2d475c..c5fd1a3 100644 --- a/src/IOProtos.h +++ b/src/IOProtos.h @@ -32,6 +32,11 @@ #include "Arch.h" +#ifdef __cplusplus +extern "C" +{ +#endif + int IOclose PROTO((IOFile deviceID)); int IOisValid PROTO((IOFile deviceID)); int IOsizeOf PROTO((int datatype)); @@ -60,4 +65,9 @@ int IOwriteStream PROTO((IOFile deviceID,void *data,int length)); int IOreadStream PROTO((IOFile deviceID,void *data,int length)); int IOpause PROTO((IOFile deviceID)); int IOresume PROTO((IOFile deviceID)); + +#ifdef __cplusplus +} +#endif + #endif |