*
* 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 2, or (at your option)
+ * 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,
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
}
-}
-
+%}