28 #ifndef __CR_STRING_H__ 29 #define __CR_STRING_H__ This is a ship implementation of string based on GString.
gint cr_string_peek_raw_str_len(CRString const *a_this)
Returns the length of the internal raw NULL terminated string of the current instance of CRString.
The Croco library basic types definitions And global definitions.
The declaration of the CRParsingLocation object.
CRString * cr_string_new_from_string(const gchar *a_string)
Instanciate a string and initialise it to a_string.
CRString * cr_string_new_from_gstring(GString const *a_string)
Instanciates a CRString from an instance of GString.
typedefG_BEGIN_DECLS struct _CRString CRString
const gchar * cr_string_peek_raw_str(CRString const *a_this)
Returns a pointer to the internal raw NULL terminated string of the current instance of CRString.
void cr_string_destroy(CRString *a_this)
CRParsingLocation location
The parsing location storage area.
gchar * cr_string_dup2(CRString const *a_this)
CRString * cr_string_dup(CRString const *a_this)
CRString * cr_string_new(void)
Instanciates a CRString.
GString * stryng
The GString where all the string operation happen.