Changeset 7587 for ImageMagick/trunk/MagickWand/wandcli.c
- Timestamp:
- 04/22/12 04:51:01 (14 months ago)
- File:
-
- 1 edited
-
ImageMagick/trunk/MagickWand/wandcli.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/MagickWand/wandcli.c
r7436 r7587 118 118 cli_wand->draw_info=CloneDrawInfo(cli_wand->wand.image_info,(DrawInfo *) NULL); 119 119 cli_wand->quantize_info=AcquireQuantizeInfo(cli_wand->wand.image_info); 120 cli_wand->process_flags=MagickCommandOptionFlags; /* assume "magick" CLI */ 121 cli_wand->command=(const OptionInfo *)NULL; /* no option at this time */ 120 122 cli_wand->image_list_stack=(Stack *)NULL; 121 123 cli_wand->image_info_stack=(Stack *)NULL; 122 cli_wand->process_flags=MagickCommandOptionFlags; /* assume "magick" CLI */123 124 124 125 /* default exception location... 125 126 EG: sprintf(locaiton, filename, line, column); 126 127 */ 127 cli_wand->location="from \"%s\""; /* location format: */ 128 cli_wand->filename="unknown"; /* unknown source */ 129 cli_wand->line=0; 130 cli_wand->column=0; 128 cli_wand->location="from \"%s\""; /* location format using arguments: */ 129 /* filename, line, column */ 130 cli_wand->filename="unknown"; /* script filename, unknown source */ 131 cli_wand->line=0; /* line from script OR CLI argument */ 132 cli_wand->column=0; /* column from script */ 131 133 132 134 cli_wand->signature=WandSignature; … … 214 216 % only, or all errors, according to 'all_execeptions' boolean argument. 215 217 % 216 % The function returns true i serrors are fatal, in which case the caller218 % The function returns true if errors are fatal, in which case the caller 217 219 % should abort and re-call with an 'all_exceptions' argument of true before 218 220 % quitting. … … 225 227 % MagickBooleanType CLICatchException(MagickCLI *cli_wand, 226 228 % const MagickBooleanType all_exceptions ); 229 % 230 % Arguments are 231 % 232 % o cli_wand: The Wand CLI that holds the exception Information 233 % 234 % o all_exceptions: Report all exceptions, including the fatal one 227 235 % 228 236 */
Note: See TracChangeset
for help on using the changeset viewer.
