discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Code Reuse Question


From: Dan CaJacob
Subject: Re: [Discuss-gnuradio] Code Reuse Question
Date: Wed, 11 May 2016 20:13:44 +0000

You can use a head block inline (already in core).

On Wed, May 11, 2016 at 4:09 PM Richard Bell <address@hidden> wrote:
Hello,

I want to add an additional parameter to the existing file sink block that lets the user tell it how many items to save to file. This amounts to adding a few lines to the existing file sink work function.

What's the smartest way to do this? What I would do currently is create a new block, copy and paste the existing file sink code to my new block and add the few lines of code to change it. Is there a smarter way?

Rich
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Very Respectfully,

Dan CaJacob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]