Here is a typical work function:
int work(int noutput_items,
                       gr_vector_const_void_star &input_items,
                       gr_vector_void_star &output_items)

output_items seems to be a pointer to a pointer into some pre-allocated memory. What is stopping me from managing my own memory, pointing the output items pointer into my memory, and returning an arbitrary noutput_items?

Is it possible? What are the limitations?

Thanks,
-Josh


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to