[Gridflow-cvs] [cvs] optional: Manual changes in lti_apply.rb. Some float In arguments were reported as Out, cannot be fixed in lti_functor_info.rb.

Mathieu Bouchard matju at artengine.ca
Thu Jun 29 17:24:02 EDT 2006


On Thu, 29 Jun 2006, heri wrote on gridflow-cvs at artengine.ca:

>    Manual changes in lti_apply.rb. Some float In arguments were reported 
> as Out, cannot be fixed in lti_functor_info.rb.
>    In lti.rb, fix for functors receiving Umatrix,Channel8, 
> Imatrix,Channel32, Fmatrix,Channel in inlets.
>  Revision    Changes    Path
>  1.54        +3   -3    optional/lti.rb
>  1.15        +11  -11   optional/lti_apply.rb

Why this can't be fixed in lti_functor_info.rb ? Is it a case of the *.h 
files reporting those things as "float &" instead of "const float &" ?
It can be OK to fix exceptional problems like this by adding a list of 
them in lti_functor_info.rb, in roughly the same way that it's already 
being done for InOut arguments (otherwise there wouldn't be any InOut 
anyway).

btw have you got SWIG::TYPE_p_float to have a constructor and an accessor?

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada


More information about the Gridflow-cvs mailing list