Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b27d83d0 authored by hhakim's avatar hhakim
Browse files

Fix issue #200 (python wrapper compilation error for macOS clang).

parent 9e4f3e16
No related branches found
No related tags found
No related merge requests found
...@@ -69,12 +69,14 @@ class FaustCoreCpp ...@@ -69,12 +69,14 @@ class FaustCoreCpp
* *
* \return true to indicate the two objects are different. * \return true to indicate the two objects are different.
*/ */
#ifdef USE_GPU_MOD
bool make_transform(Faust::TransformHelper<FPP, GPU2>**) const; bool make_transform(Faust::TransformHelper<FPP, GPU2>**) const;
/** /**
* Copies the pointer of the underlying transform into the argument. * Copies the pointer of the underlying transform into the argument.
* *
* \return false to indicate the two objects are the same. * \return false to indicate the two objects are the same.
*/ */
#endif
bool make_transform(Faust::TransformHelper<FPP, Cpu>**) const; bool make_transform(Faust::TransformHelper<FPP, Cpu>**) const;
void Display() const { transform->display();} void Display() const { transform->display();}
const char* to_string() const; const char* to_string() const;
......
...@@ -710,12 +710,14 @@ bool FaustCoreCpp<FPP,DEV>::make_transform(Faust::TransformHelper<FPP,Cpu>** th) ...@@ -710,12 +710,14 @@ bool FaustCoreCpp<FPP,DEV>::make_transform(Faust::TransformHelper<FPP,Cpu>** th)
return false; return false;
} }
#ifdef USE_GPU_MOD
template<typename FPP, FDevice DEV> template<typename FPP, FDevice DEV>
bool FaustCoreCpp<FPP, DEV>::make_transform(Faust::TransformHelper<FPP,GPU2>** th) const bool FaustCoreCpp<FPP, DEV>::make_transform(Faust::TransformHelper<FPP,GPU2>** th) const
{ {
*th = new Faust::TransformHelper<double,GPU2>(*this->transform); *th = new Faust::TransformHelper<double,GPU2>(*this->transform);
return true; return true;
} }
#endif
template<typename FPP, FDevice DEV> template<typename FPP, FDevice DEV>
FaustCoreCpp<FPP,DEV>::~FaustCoreCpp() FaustCoreCpp<FPP,DEV>::~FaustCoreCpp()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment