11 #ifndef MERCURY_STRING_OBJECT_H
12 #define MERCURY_STRING_OBJECT_H
HG_EXPORT char * hg_string_object_swap(hg_string_object_t *string, char *s)
Exchange the content of the string structure by the content of s.
HG_EXPORT hg_return_t hg_string_object_dup(hg_string_object_t string, hg_string_object_t *new_string)
Duplicate a string object.
HG_EXPORT hg_return_t hg_string_object_init(hg_string_object_t *string)
Initialize a string object.
HG_EXPORT hg_return_t hg_string_object_free(hg_string_object_t *string)
Free a string object.
HG_EXPORT hg_return_t hg_string_object_init_const_char(hg_string_object_t *string, const char *s, hg_bool_t is_owned)
Initialize a string object from the const string pointed to by s.
struct hg_string_object hg_string_object_t
HG_EXPORT hg_return_t hg_string_object_init_char(hg_string_object_t *string, char *s, hg_bool_t is_owned)
Initialize a string object from the string pointed to by s.
enum hg_return hg_return_t