diff options
Diffstat (limited to 'gnuradio-runtime/swig/constants.i')
-rw-r--r-- | gnuradio-runtime/swig/constants.i | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnuradio-runtime/swig/constants.i b/gnuradio-runtime/swig/constants.i new file mode 100644 index 0000000000..d9e5e28466 --- /dev/null +++ b/gnuradio-runtime/swig/constants.i @@ -0,0 +1,15 @@ +/* -*- c++ -*- */ + +namespace gr { + %rename(prefix) prefix; + %rename(sysconfdir) sysconfdir; + %rename(prefsdir) prefsdir; + %rename(build_date) build_date; + %rename(version) version; + + const std::string prefix(); + const std::string sysconfdir(); + const std::string prefsdir(); + const std::string build_date(); + const std::string version(); +} |