On 06/04, James Mckernon wrote:
>
> I can't tell whether this would be useful to your case, but could you
> declare a static variable, c-side, within your foreign function? This
> allows some kind of state to be held between calls to that function.

Heh ;)

OK, suppose we have

        ffunc_with_state = ffunction(float 
c_function_which_uses_static_var_for_state(float), "","");

Now, guess what will happen if you do

        process = ffunc_with_state, ffunc_with_state;

?

or

        process = ffunc_with_state : ffunc_with_state;

?

Oleg.



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to