2001-12-11 Michael Meeks <michael@ximian.com>
[platform/upstream/at-spi2-core.git] / cspi / spi-roletypes.h
index dc67504..76b75be 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _SPI_ROLETYPES_H_
 #define _SPI_ROLETYPES_H_
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 /**
  * AccessibleRole:
  * @SPI_ROLE_INVALID: role is not legal, something is wrong with this object
@@ -142,6 +146,10 @@ typedef enum
   SPI_ROLE_LAST_DEFINED
 } AccessibleRole;
 
-char* AccessibleRole_getName (AccessibleRole role);
+const char* AccessibleRole_getName (AccessibleRole role);
+
+#ifdef  __cplusplus
+}
+#endif
 
 #endif