summaryrefslogtreecommitdiffstats
path: root/devel/swig13/files/patch-Lib::guile::guilemain.i
blob: 613a294d51cb5becd4546f0fc8453b1a97b2a499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -urN ../SWIG1.3a5/Lib/guile/guilemain.i ./Lib/guile/guilemain.i
--- ../SWIG1.3a5/Lib/guile/guilemain.i	Sun Sep  3 15:06:32 2000
+++ ./Lib/guile/guilemain.i	Tue Feb 27 06:12:33 2001
@@ -7,7 +7,7 @@
 *   Wrapper and Interface Generator (SWIG 1.1)
 *
 * - Automatic Version Information via RCS/CVS:
-*   $Id: guilemain.i,v 1.4 2000/09/03 20:06:32 mkoeppe Exp $
+*   $Id: guilemain.i,v 1.4.2.1 2001/02/26 17:57:56 mkoeppe Exp $
 *   $Source: /cvs/projects/SWIG/Lib/guile/guilemain.i,v $
 *
 * This program is free software; you can redistribute it and/or modify
@@ -27,6 +27,10 @@
 %{
 #include <libguile.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Debugger interface (don't change the order of the following lines) */
 #define GDB_TYPE SCM
 #include <libguile/gdb_interface.h>
@@ -43,6 +47,10 @@
   scm_shell(argc, argv);	/* scheme interpreter */
   /* never reached: scm_shell will perform an exit */
 }
+
+#ifdef __cplusplus
+}
+#endif
 
 int
 main(int argc, char **argv)
OpenPOWER on IntegriCloud