Lines Matching refs:a_this
94 cr_string_dup (CRString const *a_this)
97 g_return_val_if_fail (a_this, NULL) ;
99 result = cr_string_new_from_gstring (a_this->stryng) ;
105 &a_this->location) ;
110 cr_string_dup2 (CRString const *a_this)
114 g_return_val_if_fail (a_this, NULL) ;
116 if (a_this
117 && a_this->stryng
118 && a_this->stryng->str) {
119 result = g_strndup (a_this->stryng->str,
120 a_this->stryng->len) ;
128 *@param a_this the current instance of #CRString
131 cr_string_peek_raw_str (CRString const *a_this)
133 g_return_val_if_fail (a_this, NULL) ;
135 if (a_this->stryng && a_this->stryng->str)
136 return a_this->stryng->str ;
143 *@param a_this the current instance of #CRString.
148 cr_string_peek_raw_str_len (CRString const *a_this)
150 g_return_val_if_fail (a_this && a_this->stryng,
152 return a_this->stryng->len ;
156 *@param a_this the #CRString to destroy.
159 cr_string_destroy (CRString *a_this)
161 g_return_if_fail (a_this) ;
163 if (a_this->stryng) {
164 g_string_free (a_this->stryng, TRUE) ;
165 a_this->stryng = NULL ;
167 g_free (a_this) ;