[uim-commit] r2930 - branches/r5rs/sigscheme/src
yamaken at freedesktop.org
yamaken at freedesktop.org
Sun Jan 15 07:54:45 PST 2006
Author: yamaken
Date: 2006-01-15 07:54:39 -0800 (Sun, 15 Jan 2006)
New Revision: 2930
Modified:
branches/r5rs/sigscheme/src/baseport.h
branches/r5rs/sigscheme/src/encoding.h
branches/r5rs/sigscheme/src/fileport.h
branches/r5rs/sigscheme/src/mbcport.h
branches/r5rs/sigscheme/src/nullport.h
branches/r5rs/sigscheme/src/sbcport.h
branches/r5rs/sigscheme/src/strport.h
Log:
* sigscheme/src/mbcport.h
* sigscheme/src/sbcport.h
* sigscheme/src/baseport.h
* sigscheme/src/nullport.h
* sigscheme/src/encoding.h
* sigscheme/src/strport.h
* sigscheme/src/fileport.h
- Add lacking 'extern "C"' enclosure
Modified: branches/r5rs/sigscheme/src/baseport.h
===================================================================
--- branches/r5rs/sigscheme/src/baseport.h 2006-01-15 15:41:30 UTC (rev 2929)
+++ branches/r5rs/sigscheme/src/baseport.h 2006-01-15 15:54:39 UTC (rev 2930)
@@ -40,6 +40,10 @@
#ifndef __SCM_BASEPORT_H
#define __SCM_BASEPORT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*=======================================
System Include
=======================================*/
@@ -246,5 +250,8 @@
char *ScmBaseCharPort_inspect(ScmBaseCharPort *port, const char *header);
int ScmBaseCharPort_line_number(ScmBaseCharPort *port);
+#ifdef __cplusplus
+}
+#endif
#endif /* __SCM_BASEPORT_H */
Modified: branches/r5rs/sigscheme/src/encoding.h
===================================================================
--- branches/r5rs/sigscheme/src/encoding.h 2006-01-15 15:41:30 UTC (rev 2929)
+++ branches/r5rs/sigscheme/src/encoding.h 2006-01-15 15:54:39 UTC (rev 2930)
@@ -37,6 +37,10 @@
#ifndef __SCM_ENCODING_H
#define __SCM_ENCODING_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*=======================================
System Include
=======================================*/
@@ -213,4 +217,8 @@
int scm_charcodec_read_char(ScmCharCodec *codec, ScmMultibyteString *mbs,
const char *caller);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __SCM_ENCODING_H */
Modified: branches/r5rs/sigscheme/src/fileport.h
===================================================================
--- branches/r5rs/sigscheme/src/fileport.h 2006-01-15 15:41:30 UTC (rev 2929)
+++ branches/r5rs/sigscheme/src/fileport.h 2006-01-15 15:54:39 UTC (rev 2930)
@@ -38,6 +38,10 @@
* merge into another file.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef __SCM_FILEPORT_H
#define __SCM_FILEPORT_H
@@ -74,5 +78,8 @@
ScmBytePort *ScmFilePort_open_input_file(const char *path);
ScmBytePort *ScmFilePort_open_output_file(const char *path);
+#ifdef __cplusplus
+}
+#endif
#endif /* __SCM_FILEPORT_H */
Modified: branches/r5rs/sigscheme/src/mbcport.h
===================================================================
--- branches/r5rs/sigscheme/src/mbcport.h 2006-01-15 15:41:30 UTC (rev 2929)
+++ branches/r5rs/sigscheme/src/mbcport.h 2006-01-15 15:54:39 UTC (rev 2930)
@@ -40,6 +40,10 @@
#ifndef __SCM_MBCPORT_H
#define __SCM_MBCPORT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*=======================================
System Include
=======================================*/
@@ -80,4 +84,8 @@
void ScmMultiByteCharPort_set_codec(ScmCharPort *cport, ScmCharCodec *codec);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __SCM_MBCPORT_H */
Modified: branches/r5rs/sigscheme/src/nullport.h
===================================================================
--- branches/r5rs/sigscheme/src/nullport.h 2006-01-15 15:41:30 UTC (rev 2929)
+++ branches/r5rs/sigscheme/src/nullport.h 2006-01-15 15:54:39 UTC (rev 2930)
@@ -40,6 +40,10 @@
#ifndef __SCM_NULLPORT_H
#define __SCM_NULLPORT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*=======================================
System Include
=======================================*/
@@ -69,4 +73,8 @@
ScmBytePort *ScmNullPort_new(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __SCM_NULLPORT_H */
Modified: branches/r5rs/sigscheme/src/sbcport.h
===================================================================
--- branches/r5rs/sigscheme/src/sbcport.h 2006-01-15 15:41:30 UTC (rev 2929)
+++ branches/r5rs/sigscheme/src/sbcport.h 2006-01-15 15:54:39 UTC (rev 2930)
@@ -40,6 +40,10 @@
#ifndef __SCM_SBCPORT_H
#define __SCM_SBCPORT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*=======================================
System Include
=======================================*/
@@ -73,5 +77,8 @@
ScmBytePort *bport);
ScmCharPort *ScmSingleByteCharPort_new(ScmBytePort *bport);
+#ifdef __cplusplus
+}
+#endif
#endif /* __SCM_SBCPORT_H */
Modified: branches/r5rs/sigscheme/src/strport.h
===================================================================
--- branches/r5rs/sigscheme/src/strport.h 2006-01-15 15:41:30 UTC (rev 2929)
+++ branches/r5rs/sigscheme/src/strport.h 2006-01-15 15:54:39 UTC (rev 2930)
@@ -40,6 +40,10 @@
#ifndef __SCM_STRPORT_H
#define __SCM_STRPORT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*=======================================
System Include
=======================================*/
@@ -85,5 +89,8 @@
size_t ScmOutputStrPort_c_strlen(ScmBytePort *bport);
void **ScmOutputStrPort_ref_opaque(ScmBytePort *bport);
+#ifdef __cplusplus
+}
+#endif
#endif /* __SCM_STRPORT_H */
More information about the uim-commit
mailing list