{
image_doc_internal_t*i= (image_doc_internal_t*)gfx->internal;
- free(i->img.data);i->image.data = 0;
+ free(i->img.data);i->img.data = 0;
free(gfx->internal);gfx->internal=0;
free(gfx);gfx=0;
}
-void image_doc_set_parameter(gfxdocument_t*gfx, const char*name, const char*value)
+void image_doc_setparameter(gfxdocument_t*gfx, const char*name, const char*value)
{
image_doc_internal_t*i= (image_doc_internal_t*)gfx->internal;
}
return image_page;
}
-static void image_set_parameter(gfxsource_t*src, const char*name, const char*value)
+static void image_setparameter(gfxsource_t*src, const char*name, const char*value)
{
msg("<verbose> (gfxsource_image) setting parameter %s to \"%s\"", name, value);
}
image_doc->internal = i;
image_doc->get = 0;
image_doc->destroy = image_doc_destroy;
- image_doc->set_parameter = image_doc_set_parameter;
+ image_doc->setparameter = image_doc_setparameter;
image_doc->getpage = image_doc_getpage;
return image_doc;
{
gfxsource_t*src = (gfxsource_t*)malloc(sizeof(gfxsource_t));
memset(src, 0, sizeof(gfxsource_t));
- src->set_parameter = image_set_parameter;
+ src->setparameter = image_setparameter;
src->open = image_open;
return src;
}
+