harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r423414 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/exceptions.h
Date Wed, 19 Jul 2006 09:31:14 GMT
Author: hindessm
Date: Wed Jul 19 02:31:13 2006
New Revision: 423414

URL: http://svn.apache.org/viewvc?rev=423414&view=rev
Log:
Fix C++ compilation on windows.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/exceptions.h

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/exceptions.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/exceptions.h?rev=423414&r1=423413&r2=423414&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/exceptions.h
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/exceptions.h
Wed Jul 19 02:31:13 2006
@@ -18,6 +18,11 @@
 
 #include <string.h>
 #include "vmi.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 void throwNewExceptionByName(JNIEnv* env,
                              const char* name, const char* message);
 void throwNewOutOfMemoryError(JNIEnv* env, const char* message);
@@ -25,5 +30,9 @@
 void throwJavaIoIOExceptionClosed(JNIEnv* env);
 void throwNPException(JNIEnv* env, const char* message);
 void throwIndexOutOfBoundsException(JNIEnv* env);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif



Mime
View raw message