pike.git / src / post_modules / GTK2 / source / support.c

version» Context lines:

pike.git/src/post_modules/GTK2/source/support.c:882:      /* double should be enough */   double pgtk2_get_float(struct svalue *s) {    if (TYPEOF(*s) == PIKE_T_FLOAT)    return s->u.float_number;    if (TYPEOF(*s) == PIKE_T_INT)    return (double)s->u.integer;   #ifdef AUTO_BIGNUM    if (is_bignum_object_in_svalue(s)) {    FLOAT_TYPE f; -  ref_push_string(literal_float_string); -  apply(s->u.object,"cast",1); +  ref_push_type_value(float_type_string); +  stack_swap(); +  f_cast();    f=Pike_sp[-1].u.float_number;    pop_stack();    return (double)f;    }   #endif    return 0.0;   }      void pgtk2_free_object(struct object *o) {    free_object(o);