#include #include #include #include "gen_qpdfdestination.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern C */ #endif QPdfDestination* QPdfDestination_new(QPdfDestination* other) { return new QPdfDestination(*other); } void QPdfDestination_operatorAssign(QPdfDestination* self, QPdfDestination* other) { self->operator=(*other); } void QPdfDestination_swap(QPdfDestination* self, QPdfDestination* other) { self->swap(*other); } bool QPdfDestination_isValid(const QPdfDestination* self) { return self->isValid(); } int QPdfDestination_page(const QPdfDestination* self) { return self->page(); } QPointF* QPdfDestination_location(const QPdfDestination* self) { return new QPointF(self->location()); } double QPdfDestination_zoom(const QPdfDestination* self) { qreal _ret = self->zoom(); return static_cast(_ret); } void QPdfDestination_delete(QPdfDestination* self) { delete self; }