pdfio/pdfio.h
2021-04-10 08:00:52 -04:00

58 lines
825 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Public header file for pdfio.
//
// Copyright © 2021 by Michael R Sweet.
//
// Licensed under Apache License v2.0. See the file "LICENSE" for more
// information.
//
#ifndef PDFIO_H
# define PDFIO_H
//
// Include necessary headers...
//
//
// C++ magic...
//
# ifdef __cplusplus
extern "C" {
# endif // __cplusplus
//
// Visibility and other annotations...
//
# if defined(__has_extension) || defined(__GNUC__)
# define PDFIO_PUBLIC __attribute__ ((visibility("default")))
# define PDFIO_FORMAT(a,b) __attribute__ ((__format__(__printf__, a,b)))
# else
# define PDFIO_PUBLIC
# define PDFIO_FORMAT(a,b)
# endif // __has_extension || __GNUC__
//
// Types and constants...
//
//
// Functions...
//
//
// C++ magic...
//
# ifdef __cplusplus
}
# endif // __cplusplus
#endif // !PDFIO_H