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.
5 // Copyright (C) 2018-2019 Intel Corporation
8 #ifndef OPENCV_GAPI_GPROTO_PRIV_HPP
9 #define OPENCV_GAPI_GPROTO_PRIV_HPP
11 #include "opencv2/gapi/gproto.hpp"
12 #include "opencv2/gapi/garg.hpp"
14 #include "api/gapi_priv.hpp"
20 // These methods are used by GModelBuilder only
21 // FIXME: Document semantics
23 // FIXME: GAPI_EXPORTS because of tests only!
24 // FIXME: Possible dangling reference alert!!!
25 GAPI_EXPORTS const GOrigin& origin_of (const GProtoArg &arg);
26 GAPI_EXPORTS const GOrigin& origin_of (const GArg &arg);
28 bool is_dynamic(const GArg &arg);
29 GProtoArg rewrap (const GArg &arg);
35 #endif // OPENCV_GAPI_GPROTO_PRIV_HPP