Added methods for Component Layer and MDI Z-Order information (see
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-util.c
index 6543055..64a52be 100644 (file)
@@ -1,15 +1,23 @@
 #include <stdlib.h>
-#include <libbonobo.h>
 #include <cspi/spi-private.h>
 
+/**
+ * SPI_freeString:
+ * @s: a character string returned from another at-spi call.
+ *
+ * Free a character string returned from an at-spi call.  Clients of
+ * at-spi should use this function instead of free () or g_free().
+ * This API should not be used to free strings
+ * from other libraries or allocated by the client.
+ **/
 void
-spi_freeString (char *s)
+SPI_freeString (char *s)
 {
   CORBA_free (s);
 }
 
-boolean
-spi_warn_ev (CORBA_Environment *ev, const char *error_string)
+SPIBoolean
+cspi_warn_ev (CORBA_Environment *ev, const char *error_string)
 {
   if (ev->_major != CORBA_NO_EXCEPTION)
     {
@@ -33,7 +41,7 @@ spi_warn_ev (CORBA_Environment *ev, const char *error_string)
 }
 
 void
-spi_check_ev (CORBA_Environment *ev, const char *error_string)
+cspi_check_ev (CORBA_Environment *ev, const char *error_string)
 {
   if (ev->_major != CORBA_NO_EXCEPTION)
     {