|
From: <cs...@us...> - 2008-11-03 19:35:25
|
Revision: 62
http://bespp.svn.sourceforge.net/bespp/?rev=62&view=rev
Author: csmith
Date: 2008-11-03 19:35:22 +0000 (Mon, 03 Nov 2008)
Log Message:
-----------
- added extern "C" to header files for use in C++ programs
Modified Paths:
--------------
trunk/besclient/bes.h
trunk/besclient/jsdl.h
Modified: trunk/besclient/bes.h
===================================================================
--- trunk/besclient/bes.h 2008-10-31 21:40:42 UTC (rev 61)
+++ trunk/besclient/bes.h 2008-11-03 19:35:22 UTC (rev 62)
@@ -25,6 +25,10 @@
#include "jsdl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MAX_ERRSTR_LEN 256
typedef void* epr_t;
@@ -105,5 +109,9 @@
char *bes_getEPRString(epr_t);
void bes_freeActivityStatus(struct bes_activity_status *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BES_H */
Modified: trunk/besclient/jsdl.h
===================================================================
--- trunk/besclient/jsdl.h 2008-10-31 21:40:42 UTC (rev 61)
+++ trunk/besclient/jsdl.h 2008-11-03 19:35:22 UTC (rev 62)
@@ -25,6 +25,10 @@
#include "soapStub.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum jsdl_application_type {
JSDL_POSIX_APPLICATION = 1,
JSDL_HPC_PROFILE_APPLICATION = 2,
@@ -199,4 +203,8 @@
int jsdl_generateJobDefinitionDOM(struct jsdl_job_definition *, struct soap_dom_element **);
void jsdl_freeJobDefinitionDOM(struct soap_dom_element *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _JSDL_H */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|