{
template<class ...Ts>
-class PY2CPP_EXPORT Result;
+class Result;
/*! class Result is used by pyResult function for syntax sugar purpose.
* You can write this:
* std::cerr << py2cpp::getLastPyError();
**/
template<>
-class PY2CPP_EXPORT Result<>
+class Result<>
{
public:
void operator=(PyObject * po)
};
template<class T>
-class PY2CPP_EXPORT Result<T>
+class Result<T>
{
public:
Result() = delete;
};
template<class ...Ts>
-class PY2CPP_EXPORT Result
+class Result
{
public:
Result() = delete;
};
template<class ...Ts>
-PY2CPP_EXPORT Result<Ts...> pyResult(Ts&... args)
+Result<Ts...> pyResult(Ts&... args)
{
return Result<Ts...>(args...);
}