Ver Fonte

fix and sync the PDF API header

This was edited directly in 51036e686401251dbf550b3f884fb2f02d84c8d1 and would
have been lost when the headers were resynced
Ashish Kulkarni há 11 anos atrás
pai
commit
e1bbd9bf66
2 ficheiros alterados com 4 adições e 1 exclusões
  1. 1 1
      include/wkhtmltox/pdf.h
  2. 3 0
      src/lib/pdf.h

+ 1 - 1
include/wkhtmltox/pdf.h

@@ -43,7 +43,7 @@ CAPI(wkhtmltopdf_global_settings *) wkhtmltopdf_create_global_settings();
 CAPI(void) wkhtmltopdf_destroy_global_settings(wkhtmltopdf_global_settings *);
 
 CAPI(wkhtmltopdf_object_settings *) wkhtmltopdf_create_object_settings();
-CAPI(void) wkhtmltopdf_destroy_object_settings(wkhtmltopdf_global_settings *);
+CAPI(void) wkhtmltopdf_destroy_object_settings(wkhtmltopdf_object_settings *);
 
 CAPI(int) wkhtmltopdf_set_global_setting(wkhtmltopdf_global_settings * settings, const char * name, const char * value);
 CAPI(int) wkhtmltopdf_get_global_setting(wkhtmltopdf_global_settings * settings, const char * name, char * value, int vs);

+ 3 - 0
src/lib/pdf.h

@@ -42,7 +42,10 @@ CAPI(int) wkhtmltopdf_extended_qt();
 CAPI(const char *) wkhtmltopdf_version();
 
 CAPI(wkhtmltopdf_global_settings *) wkhtmltopdf_create_global_settings();
+CAPI(void) wkhtmltopdf_destroy_global_settings(wkhtmltopdf_global_settings *);
+
 CAPI(wkhtmltopdf_object_settings *) wkhtmltopdf_create_object_settings();
+CAPI(void) wkhtmltopdf_destroy_object_settings(wkhtmltopdf_object_settings *);
 
 CAPI(int) wkhtmltopdf_set_global_setting(wkhtmltopdf_global_settings * settings, const char * name, const char * value);
 CAPI(int) wkhtmltopdf_get_global_setting(wkhtmltopdf_global_settings * settings, const char * name, char * value, int vs);