//#ifdef __cplusplus
//extern "C" {
//#endif

#ifndef __PDFPRINTER_H__
#define __PDFPRINTER_H__

#define min(a,b) \
   ({ __typeof__ (a) _a = (a); \
       __typeof__ (b) _b = (b); \
     _a < _b ? _a : _b; })

/*
 * Opens a native print dialog to print the file 'path_to_file'
 *
 * Return 0 if everything went well or a -1 if there were errors.
 * These are normally printed out to stderr.
*/
int windows_print_pdf(char* path_to_file);

//#ifdef __cplusplus
//}
//#endif

#endif
