Committed the rest of the files from the last batch of changes.
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-util.c
1 #include <string.h>
2 #include "spi-util.h"
3
4
5 char *
6 string_from_corba_string (CORBA_char *string)
7 {
8   char *newstring;
9   int length;
10
11   length = strlen (string);
12   newstring = (char *) malloc (length+1);
13   strcpy (newstring, string);
14   corba_free (string);
15   return newstring;
16 }
17