exports.hpp 743 B

1234567891011121314151617181920212223242526272829
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. //
  5. // Copyright (C) 2018 Intel Corporation
  6. #ifndef OPENCV_GAPI_OWN_TYPES_HPP
  7. #define OPENCV_GAPI_OWN_TYPES_HPP
  8. # if 0
  9. # include <opencv2/core/base.hpp>
  10. # define GAPI_EXPORTS CV_EXPORTS
  11. # else
  12. # if defined _WIN32
  13. # define GAPI_EXPORTS __declspec(dllexport)
  14. # elif defined __GNUC__ && __GNUC__ >= 4
  15. # define GAPI_EXPORTS __attribute__ ((visibility ("default")))
  16. # endif
  17. # ifndef GAPI_EXPORTS
  18. # define GAPI_EXPORTS
  19. # endif
  20. # endif
  21. #endif // OPENCV_GAPI_OWN_TYPES_HPP