diff options
author | Tom Rondeau | 2012-05-03 12:18:25 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-05-03 12:18:25 -0400 |
commit | 4def5f38c96d5f8657ffa98f827d4c97157f4d13 (patch) | |
tree | 4afdec5a38b8b688fa6aed3369c5222c91beca33 /gnuradio-core/src/python/build_utils.py | |
parent | a7afbf205a543967ee949f6b6409c2a295e6905d (diff) | |
parent | 8c14a49634fd6ea5fb939b7d890fae1281c8fa6e (diff) | |
download | gnuradio-4def5f38c96d5f8657ffa98f827d4c97157f4d13.tar.gz gnuradio-4def5f38c96d5f8657ffa98f827d4c97157f4d13.tar.bz2 gnuradio-4def5f38c96d5f8657ffa98f827d4c97157f4d13.zip |
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'gnuradio-core/src/python/build_utils.py')
-rw-r--r-- | gnuradio-core/src/python/build_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/python/build_utils.py b/gnuradio-core/src/python/build_utils.py index 0660941d5..ce0757912 100644 --- a/gnuradio-core/src/python/build_utils.py +++ b/gnuradio-core/src/python/build_utils.py @@ -176,11 +176,11 @@ def is_complex (code3): return '0' -def standard_dict (name, code3): +def standard_dict (name, code3, package='gr'): d = {} d['NAME'] = name d['GUARD_NAME'] = 'INCLUDED_%s_H' % name.upper () - d['BASE_NAME'] = re.sub ('^gr_', '', name) + d['BASE_NAME'] = re.sub ('^' + package + '_', '', name) d['SPTR_NAME'] = '%s_sptr' % name d['WARNING'] = 'WARNING: this file is machine generated. Edits will be over written' d['COPYRIGHT'] = copyright |