vips8 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Include file to get vips C++ binding
  2. /*
  3. This file is part of VIPS.
  4. VIPS is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU Lesser General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  15. 02110-1301 USA
  16. */
  17. /*
  18. These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
  19. */
  20. #ifndef VIPS_CPLUSPLUS
  21. #define VIPS_CPLUSPLUS
  22. #include <vips/version.h>
  23. #include <glib-object.h>
  24. /* Define VIPS_CPLUSPLUS_EXPORTS to build a DLL using MSVC.
  25. */
  26. #ifdef _MSC_VER
  27. # ifdef VIPS_CPLUSPLUS_EXPORTS
  28. # define VIPS_CPLUSPLUS_API __declspec(dllexport)
  29. # else
  30. # define VIPS_CPLUSPLUS_API __declspec(dllimport)
  31. # endif
  32. #else
  33. # define VIPS_CPLUSPLUS_API
  34. #endif
  35. #define VIPS_NAMESPACE_START namespace vips {
  36. #define VIPS_NAMESPACE_END }
  37. #include "VError8.h"
  38. #include "VImage8.h"
  39. #include "VInterpolate8.h"
  40. #include "VConnection8.h"
  41. #endif /*VIPS_CPLUSPLUS*/