Re: [Discuss-gnuradio] SWIG, current gr-howto structure and exception specifiers

2012-06-05 Thread Tom Rondeau
On Tue, Jun 5, 2012 at 2:58 PM, Martin Braun wrote: > On Sun, Jun 03, 2012 at 10:22:14AM -0400, Tom Rondeau wrote: >> On the other hand, I thought all standard exceptions were passed >> properly through SWIG to Python already. I was under the impression >> that if you're header file declares that

Re: [Discuss-gnuradio] SWIG, current gr-howto structure and exception specifiers

2012-06-05 Thread Martin Braun
On Sun, Jun 03, 2012 at 10:22:14AM -0400, Tom Rondeau wrote: > On the other hand, I thought all standard exceptions were passed > properly through SWIG to Python already. I was under the impression > that if you're header file declares that it throws, then you can catch > it in Python. If that's no

Re: [Discuss-gnuradio] SWIG, current gr-howto structure and exception specifiers

2012-06-03 Thread Tom Rondeau
On Fri, May 11, 2012 at 7:03 AM, Martin Braun wrote: > In the current state of gr-howto (which is also used in gr_modtool), the > SWIG stuff is done pretty intelligently by using the header files as > .i-files, which means there is no need to write a SWIG header for every > block. > > One advantag

[Discuss-gnuradio] SWIG, current gr-howto structure and exception specifiers

2012-05-11 Thread Martin Braun
In the current state of gr-howto (which is also used in gr_modtool), the SWIG stuff is done pretty intelligently by using the header files as .i-files, which means there is no need to write a SWIG header for every block. One advantage of this was the possibility to add stuff in the .i-file which w