From dbf6f4db24aee7315b2782a87e127367887e2036 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 16 Jan 2025 14:21:05 +1300 Subject: Changed reinterpret_cast to static_cast where applicable --- src/c_fl_paged_device.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'src/c_fl_paged_device.h') diff --git a/src/c_fl_paged_device.h b/src/c_fl_paged_device.h index aef50c1..90befcf 100644 --- a/src/c_fl_paged_device.h +++ b/src/c_fl_paged_device.h @@ -19,33 +19,33 @@ extern "C" const int fl_no_page_formats; extern "C" void fl_paged_device_get_page_format(int i, const char ** n, int * w, int * h); -typedef void* PAGED_DEVICE; +typedef void* PAGEDDEVICE; -extern "C" PAGED_DEVICE new_fl_paged_device(void); -extern "C" void free_fl_paged_device(PAGED_DEVICE p); +extern "C" PAGEDDEVICE new_fl_paged_device(void); +extern "C" void free_fl_paged_device(PAGEDDEVICE p); -extern "C" int fl_paged_device_start_job(PAGED_DEVICE p, int c); -extern "C" int fl_paged_device_start_job2(PAGED_DEVICE p, int c, int * f, int * t); -extern "C" void fl_paged_device_end_job(PAGED_DEVICE p); -extern "C" int fl_paged_device_start_page(PAGED_DEVICE p); -extern "C" int fl_paged_device_end_page(PAGED_DEVICE p); +extern "C" int fl_paged_device_start_job(PAGEDDEVICE p, int c); +extern "C" int fl_paged_device_start_job2(PAGEDDEVICE p, int c, int * f, int * t); +extern "C" void fl_paged_device_end_job(PAGEDDEVICE p); +extern "C" int fl_paged_device_start_page(PAGEDDEVICE p); +extern "C" int fl_paged_device_end_page(PAGEDDEVICE p); -extern "C" void fl_paged_device_margins(PAGED_DEVICE p, int * l, int * t, int * r, int * b); -extern "C" int fl_paged_device_printable_rect(PAGED_DEVICE p, int * w, int * h); -extern "C" void fl_paged_device_get_origin(PAGED_DEVICE p, int * x, int * y); -extern "C" void fl_paged_device_set_origin(PAGED_DEVICE p, int x, int y); -extern "C" void fl_paged_device_rotate(PAGED_DEVICE p, float r); -extern "C" void fl_paged_device_scale(PAGED_DEVICE p, float x, float y); -extern "C" void fl_paged_device_translate(PAGED_DEVICE p, int x, int y); -extern "C" void fl_paged_device_untranslate(PAGED_DEVICE p); +extern "C" void fl_paged_device_margins(PAGEDDEVICE p, int * l, int * t, int * r, int * b); +extern "C" int fl_paged_device_printable_rect(PAGEDDEVICE p, int * w, int * h); +extern "C" void fl_paged_device_get_origin(PAGEDDEVICE p, int * x, int * y); +extern "C" void fl_paged_device_set_origin(PAGEDDEVICE p, int x, int y); +extern "C" void fl_paged_device_rotate(PAGEDDEVICE p, float r); +extern "C" void fl_paged_device_scale(PAGEDDEVICE p, float x, float y); +extern "C" void fl_paged_device_translate(PAGEDDEVICE p, int x, int y); +extern "C" void fl_paged_device_untranslate(PAGEDDEVICE p); -extern "C" void fl_paged_device_print_widget(PAGED_DEVICE p, void * i, int dx, int dy); -extern "C" void fl_paged_device_print_window(PAGED_DEVICE p, void * i, int dx, int dy); -extern "C" void fl_paged_device_print_window_part(PAGED_DEVICE p, void * i, int x, int y, +extern "C" void fl_paged_device_print_widget(PAGEDDEVICE p, void * i, int dx, int dy); +extern "C" void fl_paged_device_print_window(PAGEDDEVICE p, void * i, int dx, int dy); +extern "C" void fl_paged_device_print_window_part(PAGEDDEVICE p, void * i, int x, int y, int w, int h, int dx, int dy); -- cgit