Lines Matching refs:a_this
88 *@a_this: the current instance of #CRNum.
96 cr_num_to_string (CRNum * a_this)
104 g_return_val_if_fail (a_this, NULL);
106 test_val = a_this->val - (glong) a_this->val;
109 tmp_char1 = g_strdup_printf ("%ld", (glong) a_this->val);
111 tmp_char1 = g_strdup_printf ("%.3f", a_this->val);
116 switch (a_this->type) {
228 *@a_this: the instance of #CRNum to duplicate.
236 cr_num_dup (CRNum * a_this)
241 g_return_val_if_fail (a_this, NULL);
246 status = cr_num_copy (result, a_this);
255 *@a_this: the current instance of #CRNum to be set.
263 cr_num_set (CRNum * a_this, gdouble a_val, enum CRNumType a_type)
265 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
267 a_this->val = a_val;
268 a_this->type = a_type;
275 * @a_this: the current instance of #CRNum .
286 cr_num_is_fixed_length (CRNum * a_this)
290 g_return_val_if_fail (a_this, FALSE);
292 if (a_this->type >= NUM_LENGTH_EM
293 && a_this->type <= NUM_LENGTH_PC) {
301 *@a_this: the this pointer of
307 cr_num_destroy (CRNum * a_this)
309 g_return_if_fail (a_this);
311 g_free (a_this);