commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r8797 - gnuradio/branches/developers/eb/sched-wip/gnur


From: eb
Subject: [Commit-gnuradio] r8797 - gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime
Date: Fri, 4 Jul 2008 19:08:36 -0600 (MDT)

Author: eb
Date: 2008-07-04 19:08:35 -0600 (Fri, 04 Jul 2008)
New Revision: 8797

Modified:
   
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_buffer.h
Log:
provide default for new parameters

Modified: 
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_buffer.h
===================================================================
--- 
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_buffer.h
 2008-07-05 00:12:54 UTC (rev 8796)
+++ 
gnuradio/branches/developers/eb/sched-wip/gnuradio-core/src/lib/runtime/gr_buffer.h
 2008-07-05 01:08:35 UTC (rev 8797)
@@ -39,7 +39,7 @@
  * \param sizeof_item is the size of an item in bytes.
  * \param link is the buffer that writes to this buffer.
  */
-gr_buffer_sptr gr_make_buffer (int nitems, size_t sizeof_item, gr_block_sptr 
link);
+gr_buffer_sptr gr_make_buffer (int nitems, size_t sizeof_item, gr_block_sptr 
link=gr_block_sptr());
 
 
 /*!
@@ -150,7 +150,7 @@
  * \param link is the buffer that reads using this gr_buffer_reader.
  */
 gr_buffer_reader_sptr 
-gr_buffer_add_reader (gr_buffer_sptr buf, int nzero_preload, gr_block_sptr 
link);
+gr_buffer_add_reader (gr_buffer_sptr buf, int nzero_preload, gr_block_sptr 
link=gr_block_sptr());
 
 //! returns # of gr_buffers currently allocated
 long gr_buffer_ncurrently_allocated ();





reply via email to

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