pike.git/
src/
modules/
Image/
encodings/
xcf.c
Branch:
Tag:
Non-build tags
All tags
No tags
2011-10-28
2011-10-28 13:04:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>
017b5735499ea38f2d5a92b61b4ff99740dd0d52 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Atomic megapatch: Use svalue accessor macros everywhere.
94:
if (args != 2 ) SIMPLE_TOO_FEW_ARGS_ERROR("_sprintf",2);
-
if (sp[-2]
.type
!=T_INT)
+
if (
TYPEOF(
sp[-2]
)
!=
T_INT)
SIMPLE_BAD_ARG_ERROR("_sprintf",0,"integer");
-
if (sp[-1]
.type
!=T_MAPPING)
+
if (
TYPEOF(
sp[-1]
)
!=
T_MAPPING)
SIMPLE_BAD_ARG_ERROR("_sprintf",1,"mapping"); x = sp[-2].u.integer; pop_n_elems( args );
1197:
Pike_error("Wrong type object argument 4 (colortable)\n"); for(l=0; l<(unsigned int)tiles->size; l++)
-
if(tiles->item[l]
.type
!= T_OBJECT)
+
if(
TYPEOF(
tiles->item[l]
)
!= T_OBJECT)
Pike_error("Wrong type array argument 3 (tiles)\n"); if(a && ((i->xsize != a->xsize) || (i->ysize != a->ysize)))