store canonical names of proc names and args in the proc structure.
2005-08-05 Manish Singh <yosh@gimp.org> * tools/pdbgen/pdbgen.pl: store canonical names of proc names and args in the proc structure. * tools/pdbgen/app.pl * tools/pdbgen/lib.pl: use the above. * app/pdb/*_cmds.c: regenerated.
... | ... | @@ -261,7 +261,7 @@ static ProcArg drawable_is_layer_mask_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"layer_mask", | ||
"layer-mask", | ||
"Non-zero if the drawable is a layer mask" | ||
} | ||
}; | ||
... | ... | @@ -435,7 +435,7 @@ static ProcArg drawable_type_with_alpha_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"type_with_alpha", | ||
"type-with-alpha", | ||
"The drawable's type with alpha: { GIMP_RGB_IMAGE (0), GIMP_RGBA_IMAGE (1), GIMP_GRAY_IMAGE (2), GIMP_GRAYA_IMAGE (3), GIMP_INDEXED_IMAGE (4), GIMP_INDEXEDA_IMAGE (5) }" | ||
} | ||
}; | ||
... | ... | @@ -493,7 +493,7 @@ static ProcArg drawable_has_alpha_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"has_alpha", | ||
"has-alpha", | ||
"Does the drawable have an alpha channel?" | ||
} | ||
}; | ||
... | ... | @@ -551,7 +551,7 @@ static ProcArg drawable_is_rgb_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"is_rgb", | ||
"is-rgb", | ||
"non-zero if the drawable is an RGB type" | ||
} | ||
}; | ||
... | ... | @@ -609,7 +609,7 @@ static ProcArg drawable_is_gray_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"is_gray", | ||
"is-gray", | ||
"non-zero if the drawable is a grayscale type" | ||
} | ||
}; | ||
... | ... | @@ -667,7 +667,7 @@ static ProcArg drawable_is_indexed_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"is_indexed", | ||
"is-indexed", | ||
"non-zero if the drawable is an indexed type" | ||
} | ||
}; | ||
... | ... | @@ -907,12 +907,12 @@ static ProcArg drawable_offsets_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"offset_x", | ||
"offset-x", | ||
"x offset of drawable" | ||
}, | ||
{ | ||
GIMP_PDB_INT32, | ||
"offset_y", | ||
"offset-y", | ||
"y offset of drawable" | ||
} | ||
}; | ||
... | ... | @@ -1556,7 +1556,7 @@ static ProcArg drawable_mask_bounds_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"non_empty", | ||
"non-empty", | ||
"TRUE if there is a selection" | ||
}, | ||
{ | ||
... | ... | @@ -1648,7 +1648,7 @@ static ProcArg drawable_mask_intersect_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"non_empty", | ||
"non-empty", | ||
"TRUE if the returned area is not empty" | ||
}, | ||
{ | ||
... | ... | @@ -1913,12 +1913,12 @@ static ProcArg drawable_get_pixel_inargs[] = |
}, | ||
{ | ||
GIMP_PDB_INT32, | ||
"x_coord", | ||
"x-coord", | ||
"The x coordinate" | ||
}, | ||
{ | ||
GIMP_PDB_INT32, | ||
"y_coord", | ||
"y-coord", | ||
"The y coordinate" | ||
} | ||
}; | ||
... | ... | @@ -1927,7 +1927,7 @@ static ProcArg drawable_get_pixel_outargs[] = |
{ | ||
{ | ||
GIMP_PDB_INT32, | ||
"num_channels", | ||
"num-channels", | ||
"The number of channels for the pixel" | ||
}, | ||
{ | ||
... | ... | @@ -2021,17 +2021,17 @@ static ProcArg drawable_set_pixel_inargs[] = |
}, | ||
{ | ||
GIMP_PDB_INT32, | ||
"x_coord", | ||
"x-coord", | ||
"The x coordinate" | ||
}, | ||
{ | ||
GIMP_PDB_INT32, | ||
"y_coord", | ||
"y-coord", | ||
"The y coordinate" | ||
}, | ||
{ | ||
GIMP_PDB_INT32, | ||
"num_channels", | ||
"num-channels", | ||
"The number of channels for the pixel" | ||
< |