pike.git / src / post_modules / GTK2 / source / gtkdatabox.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkdatabox.pre:157:    else    c.x=Pike_sp[-args+offset].u.float_number;    if (TYPEOF(Pike_sp[-args+offset+1]) != PIKE_T_FLOAT)    Pike_error("Bad argument %d\n",offset);    else    c.y=Pike_sp[-args+offset+1].u.float_number;    return c;   }      static void push_value(GtkDataboxValue v) { -  push_text("x"); push_float(v.x); -  push_text("y"); push_float(v.y); +  push_static_text("x"); push_float(v.x); +  push_static_text("y"); push_float(v.y);    f_aggregate_mapping(4);   }   %}      mapping(string:float) data_get_value(int x, int y)   //! Get the value at the given coordinates.   {    GtkDataboxValue v;    gtk_databox_data_get_value(GTK_DATABOX(THIS->obj),get_coord(0,args),&v);    pgtk2_pop_n_elems(args);