Lines Matching defs:string
37 #include <string.h>
63 "string-object",
72 * Create a string object
74 * @param string the string to create, must be an utf8 string
76 * @return string object
80 heim_string_create(const char *string)
82 size_t len = strlen(string);
87 memcpy(s, string, len + 1);
92 * Return the type ID of string objects
94 * @return type id of string objects
104 * Get the string value of the content.
106 * @param string the string object to get the value from
108 * @return a utf8 string
112 heim_string_get_utf8(heim_string_t string)
114 return (const char *)string;