summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general/gr_feval.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_feval.cc')
-rw-r--r--gnuradio-core/src/lib/general/gr_feval.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/general/gr_feval.cc b/gnuradio-core/src/lib/general/gr_feval.cc
index 532a14018..3617620b5 100644
--- a/gnuradio-core/src/lib/general/gr_feval.cc
+++ b/gnuradio-core/src/lib/general/gr_feval.cc
@@ -50,6 +50,14 @@ gr_feval_ll::eval(long x)
return 0;
}
+gr_feval::~gr_feval(){}
+
+void
+gr_feval::eval(void)
+{
+ // nop
+}
+
/*
* Trivial examples showing C++ (transparently) calling Python
*/
@@ -70,3 +78,9 @@ gr_feval_ll_example(gr_feval_ll *f, long x)
{
return f->eval(x);
}
+
+void
+gr_feval_example(gr_feval *f)
+{
+ f->eval();
+}