[uim-commit] r791 - trunk/uim
ekato at freedesktop.org
ekato at freedesktop.org
Tue Mar 15 00:34:22 PST 2005
Author: ekato
Date: 2005-03-15 00:34:18 -0800 (Tue, 15 Mar 2005)
New Revision: 791
Modified:
trunk/uim/context.h
trunk/uim/plugin.h
Log:
* uim/plugin.h : Enable C++ interface.
* uim/context.h: Ditto.
Modified: trunk/uim/context.h
===================================================================
--- trunk/uim/context.h 2005-03-11 09:26:50 UTC (rev 790)
+++ trunk/uim/context.h 2005-03-15 08:34:18 UTC (rev 791)
@@ -33,6 +33,10 @@
#ifndef _context_h_included_
#define _context_h_included_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdio.h>
#include "config.h"
#include "gettext.h"
@@ -263,4 +267,7 @@
extern int uim_nr_im;
extern char *uim_last_client_encoding;
+#ifdef __cplusplus
+}
#endif
+#endif
Modified: trunk/uim/plugin.h
===================================================================
--- trunk/uim/plugin.h 2005-03-11 09:26:50 UTC (rev 790)
+++ trunk/uim/plugin.h 2005-03-15 08:34:18 UTC (rev 791)
@@ -35,7 +35,14 @@
#ifndef _uim_plugin_h_included_
#define _uim_plugin_h_included_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void uim_plugin_instance_init(void);
void uim_plugin_instance_quit(void);
+#ifdef __cplusplus
+}
+#endif
#endif /* _uim_plugin_h_included_ */
More information about the Uim-commit
mailing list