Improve message functions to support message formating in printf style.

This commit is contained in:
Vreixo Formoso
2007-12-17 21:12:51 +01:00
parent f279676b6b
commit 159b775d22
6 changed files with 92 additions and 49 deletions

View File

@ -71,7 +71,6 @@ int main(int argc, char **argv)
int result;
IsoImage *image;
Ecma119Image *ecma119;
Ecma119Node *tree;
if (argc != 2) {
printf ("You need to specify a valid path\n");
@ -93,9 +92,10 @@ int main(int argc, char **argv)
ecma119 = calloc(1, sizeof(Ecma119Image));
ecma119->iso_level = 1;
ecma119->image = image;
/* create low level tree */
result = ecma119_tree_create(ecma119, (IsoNode*)iso_image_get_root(image));
result = ecma119_tree_create(ecma119, iso_image_get_root(image));
if (result < 0) {
printf ("Error creating ecma-119 tree: %d\n", result);
return 1;