diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-16 14:21:05 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-16 14:21:05 +1300 |
commit | dbf6f4db24aee7315b2782a87e127367887e2036 (patch) | |
tree | 91f5af52dbdf6be9e1f5026bcf354a6455dd411d /src/c_fl_paged_device.h | |
parent | ba1719013e5bab82a2accb4aadfd8451c3ebc931 (diff) |
Changed reinterpret_cast to static_cast where applicable
Diffstat (limited to 'src/c_fl_paged_device.h')
-rw-r--r-- | src/c_fl_paged_device.h | 38 |
1 files changed, 19 insertions, 19 deletions
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); |