pike.git / src / modules / Image / colors.c

version» Context lines:

pike.git/src/modules/Image/colors.c:776:    }    pop_stack();    push_undefined();   }      static void image_color__sprintf(INT32 args)   {    int prec,x;       if (args<2) -  SIMPLE_TOO_FEW_ARGS_ERROR("_sprintf",2); +  SIMPLE_WRONG_NUM_ARGS_ERROR("_sprintf",2);       if (TYPEOF(sp[-args]) != T_INT)    SIMPLE_ARG_TYPE_ERROR("_sprintf",0,"int");    if (TYPEOF(sp[1-args]) != T_MAPPING)    SIMPLE_ARG_TYPE_ERROR("_sprintf",1,"mapping");       pop_n_elems(args-2);       push_static_text("precision");    f_index(2);