[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10038 - gnuradio/branches/features/cppdb/gr-usrp/src
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r10038 - gnuradio/branches/features/cppdb/gr-usrp/src |
Date: |
Sun, 23 Nov 2008 09:28:17 -0700 (MST) |
Author: jcorgan
Date: 2008-11-23 09:28:16 -0700 (Sun, 23 Nov 2008)
New Revision: 10038
Modified:
gnuradio/branches/features/cppdb/gr-usrp/src/Makefile.am
gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_c.i
gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_s.i
gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_c.i
gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_s.i
Log:
Generate Python shim with keyword arguments
Modified: gnuradio/branches/features/cppdb/gr-usrp/src/Makefile.am
===================================================================
--- gnuradio/branches/features/cppdb/gr-usrp/src/Makefile.am 2008-11-22
22:23:23 UTC (rev 10037)
+++ gnuradio/branches/features/cppdb/gr-usrp/src/Makefile.am 2008-11-23
16:28:16 UTC (rev 10038)
@@ -115,7 +115,7 @@
$(WITH_SWIG_INCLUDES)
usrp_swig.cc usrp_swig.py: $(ALL_IFILES)
- $(SWIG) $(SWIGPYTHONARGS) -module usrp_swig -o usrp_swig.cc
$(srcdir)/usrp.i
+ $(SWIG) $(SWIGPYTHONARGS) -keyword -module usrp_swig -o usrp_swig.cc
$(srcdir)/usrp.i
noinst_PYTHON = \
qa_usrp.py
Modified: gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_c.i
===================================================================
--- gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_c.i 2008-11-22
22:23:23 UTC (rev 10037)
+++ gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_c.i 2008-11-23
16:28:16 UTC (rev 10038)
@@ -30,7 +30,7 @@
typedef boost::shared_ptr<usrp_sink_c> usrp_sink_c_sptr;
usrp_sink_c_sptr
-usrp_make_sink_c(int which_board=0,
+usrp_make_sink_c(int which=0,
unsigned int interp_rate=32,
int nchan=1,
int mux=-1,
Modified: gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_s.i
===================================================================
--- gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_s.i 2008-11-22
22:23:23 UTC (rev 10037)
+++ gnuradio/branches/features/cppdb/gr-usrp/src/usrp_sink_s.i 2008-11-23
16:28:16 UTC (rev 10038)
@@ -30,7 +30,7 @@
typedef boost::shared_ptr<usrp_sink_s> usrp_sink_s_sptr;
usrp_sink_s_sptr
-usrp_make_sink_s(int which_board=0,
+usrp_make_sink_s(int which=0,
unsigned int interp_rate=32,
int nchan=1,
int mux=-1,
Modified: gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_c.i
===================================================================
--- gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_c.i
2008-11-22 22:23:23 UTC (rev 10037)
+++ gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_c.i
2008-11-23 16:28:16 UTC (rev 10038)
@@ -30,7 +30,7 @@
typedef boost::shared_ptr<usrp_source_c> usrp_source_c_sptr;
usrp_source_c_sptr
-usrp_make_source_c(int which_board=0,
+usrp_make_source_c(int which=0,
unsigned int decim_rate=16,
int nchan=1,
int mux=-1,
Modified: gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_s.i
===================================================================
--- gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_s.i
2008-11-22 22:23:23 UTC (rev 10037)
+++ gnuradio/branches/features/cppdb/gr-usrp/src/usrp_source_s.i
2008-11-23 16:28:16 UTC (rev 10038)
@@ -30,7 +30,7 @@
typedef boost::shared_ptr<usrp_source_s> usrp_source_s_sptr;
usrp_source_s_sptr
-usrp_make_source_s(int which_board=0,
+usrp_make_source_s(int which=0,
unsigned int decim_rate=16,
int nchan=1,
int mux=-1,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10038 - gnuradio/branches/features/cppdb/gr-usrp/src,
jcorgan <=