commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10341 - in gnuradio/branches/developers/michaelld/mis


From: michaelld
Subject: [Commit-gnuradio] r10341 - in gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib: gengen runtime swig
Date: Thu, 29 Jan 2009 20:04:12 -0700 (MST)

Author: michaelld
Date: 2009-01-29 20:04:12 -0700 (Thu, 29 Jan 2009)
New Revision: 10341

Modified:
   
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/gengen/gengen.i
   
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_msg_queue.i
   
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_single_threaded_scheduler.i
   
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_filter.i
   
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_io.i
Log:
Various fixes found during the search for SWIG corrections.



Modified: 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/gengen/gengen.i
===================================================================
--- 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/gengen/gengen.i
     2009-01-30 02:31:55 UTC (rev 10340)
+++ 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/gengen/gengen.i
     2009-01-30 03:04:12 UTC (rev 10341)
@@ -1,3 +1,25 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2009 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
 %{
 #include "gr_endianness.h"
 #include "gr_sig_source_waveform.h"

Modified: 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_msg_queue.i
===================================================================
--- 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_msg_queue.i
      2009-01-30 02:31:55 UTC (rev 10340)
+++ 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_msg_queue.i
      2009-01-30 03:04:12 UTC (rev 10341)
@@ -39,7 +39,7 @@
   int                  d_count;
 
 public:
-  gr_msg_queue();
+  gr_msg_queue(unsigned int limit);
   ~gr_msg_queue();
 
   //! Generic msg_handler method: insert the message.
@@ -87,7 +87,7 @@
  * functions into the gr.msg_queue wrapper class, so that everything
  * appears normal.  (An evil laugh is heard in the distance...)
  */
-%inline {
+%inline %{
   gr_message_sptr gr_py_msg_queue__delete_head(gr_msg_queue_sptr q) {
     gr_message_sptr msg;
     Py_BEGIN_ALLOW_THREADS;            // release global interpreter lock
@@ -101,7 +101,7 @@
     q->insert_tail(msg);               // possibly blocking call
     Py_END_ALLOW_THREADS;              // acquire global interpreter lock
   }
-}
+%}
 
 // smash in new python delete_head and insert_tail methods...
 %pythoncode %{

Modified: 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_single_threaded_scheduler.i
===================================================================
--- 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_single_threaded_scheduler.i
      2009-01-30 02:31:55 UTC (rev 10340)
+++ 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/runtime/gr_single_threaded_scheduler.i
      2009-01-30 03:04:12 UTC (rev 10341)
@@ -42,11 +42,10 @@
   gr_single_threaded_scheduler (const std::vector<gr_block_sptr> &modules);
 };
 
-%inline {
+%inline %{
   void sts_pyrun (gr_single_threaded_scheduler_sptr s) {
     Py_BEGIN_ALLOW_THREADS;            // release global interpreter lock
     s->run ();
     Py_END_ALLOW_THREADS;              // acquire global interpreter lock
   }
-}
-
+%}

Modified: 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_filter.i
===================================================================
--- 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_filter.i
    2009-01-30 02:31:55 UTC (rev 10340)
+++ 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_filter.i
    2009-01-30 03:04:12 UTC (rev 10341)
@@ -5,16 +5,16 @@
  * This file is part of GNU Radio
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Filter Public License as published by
+ * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Filter Public License for more details.
+ * GNU General Public License for more details.
  * 
- * You should have received a copy of the GNU Filter Public License along
+ * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */

Modified: 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_io.i
===================================================================
--- 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_io.i
        2009-01-30 02:31:55 UTC (rev 10340)
+++ 
gnuradio/branches/developers/michaelld/misc_fixes/gnuradio-core/src/lib/swig/sw_io.i
        2009-01-30 03:04:12 UTC (rev 10341)
@@ -5,16 +5,16 @@
  * This file is part of GNU Radio
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Io Public License as published by
+ * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Io Public License for more details.
+ * GNU General Public License for more details.
  * 
- * You should have received a copy of the GNU Io Public License along
+ * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */





reply via email to

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