mirror of https://github.com/GNOME/gimp.git
Applied changes based on official version of TinyScheme (CVS commit dated
2008/06/28 19:28). Applied C++ patch by Shintaro Jingu.
This commit is contained in:
parent
60ddcb625b
commit
101262b479
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue