[gimp] Applied changes based on official version of TinyScheme (CVS commit dated
- From: Kevin Cozens <kcozens src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Applied changes based on official version of TinyScheme (CVS commit dated
- Date: Wed, 5 Aug 2009 00:00:23 +0000 (UTC)
commit 101262b47901d33ca79cfb4f8a6c4ca84269ddd1
Author: Kevin Cozens <kcozens cvs gnome org>
Date: Tue Aug 4 19:40:09 2009 -0400
Applied changes based on official version of TinyScheme (CVS commit dated
2008/06/28 19:28). Applied C++ patch by Shintaro Jingu.
plug-ins/script-fu/tinyscheme/scheme-private.h | 7 +++++++
plug-ins/script-fu/tinyscheme/scheme.h | 8 ++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/script-fu/tinyscheme/scheme-private.h b/plug-ins/script-fu/tinyscheme/scheme-private.h
index e755638..f781c02 100644
--- a/plug-ins/script-fu/tinyscheme/scheme-private.h
+++ b/plug-ins/script-fu/tinyscheme/scheme-private.h
@@ -144,6 +144,9 @@ enum scheme_opcodes {
OP_MAXDEFINED
};
+#ifdef __cplusplus
+extern "C" {
+#endif
#define cons(sc,a,b) _cons(sc,a,b,0)
#define immutable_cons(sc,a,b) _cons(sc,a,b,1)
@@ -189,4 +192,8 @@ int is_environment(pointer p);
int is_immutable(pointer p);
void setimmutable(pointer p);
+#ifdef __cplusplus
+}
+#endif
+
#endif
diff --git a/plug-ins/script-fu/tinyscheme/scheme.h b/plug-ins/script-fu/tinyscheme/scheme.h
index ff81877..fab5a22 100644
--- a/plug-ins/script-fu/tinyscheme/scheme.h
+++ b/plug-ins/script-fu/tinyscheme/scheme.h
@@ -6,6 +6,10 @@
#include <stdio.h>
#include <glib.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Default values for #define'd symbols
*/
@@ -237,5 +241,9 @@ struct scheme_interface {
};
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]