From 4a03552c34d5d400afb29b8bf90b41f8c5b08464 Mon Sep 17 00:00:00 2001 From: eb Date: Tue, 24 Oct 2006 21:03:11 +0000 Subject: added void callback to feval family git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3847 221aa14e-8319-0410-a670-987f0aec2ac5 --- gnuradio-core/src/lib/general/gr_feval.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gnuradio-core/src/lib/general/gr_feval.cc') 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(); +} -- cgit