summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/python/build_utils.py
diff options
context:
space:
mode:
authorJohnathan Corgan2012-10-01 16:00:32 -0700
committerJohnathan Corgan2012-10-01 16:00:32 -0700
commitd5973006fa99ead50dd4b74e01aec19fc69f228a (patch)
tree86c0c9a26fbc9940510a64014dd4cb0923233959 /gnuradio-core/src/python/build_utils.py
parentb31ea99bf07cb66f1dab3cea94f9f792f6cab2fc (diff)
parent9f72b877043cd6e5d8e7cee20c0e4390419a94b7 (diff)
downloadgnuradio-d5973006fa99ead50dd4b74e01aec19fc69f228a.tar.gz
gnuradio-d5973006fa99ead50dd4b74e01aec19fc69f228a.tar.bz2
gnuradio-d5973006fa99ead50dd4b74e01aec19fc69f228a.zip
Merge branch 'wip/gr-blocks-master'
Diffstat (limited to 'gnuradio-core/src/python/build_utils.py')
-rw-r--r--gnuradio-core/src/python/build_utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnuradio-core/src/python/build_utils.py b/gnuradio-core/src/python/build_utils.py
index 77bf0607a..cbf991aa5 100644
--- a/gnuradio-core/src/python/build_utils.py
+++ b/gnuradio-core/src/python/build_utils.py
@@ -1,5 +1,5 @@
#
-# Copyright 2004,2009 Free Software Foundation, Inc.
+# Copyright 2004,2009,2012 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -179,7 +179,9 @@ def is_complex (code3):
def standard_dict (name, code3, package='gr'):
d = {}
d['NAME'] = name
- d['GUARD_NAME'] = 'INCLUDED_%s_H' % name.upper ()
+ d['NAME_IMPL'] = name+'_impl'
+ d['GUARD_NAME'] = 'INCLUDED_%s_%s_H' % (package.upper(), name.upper())
+ d['GUARD_NAME_IMPL'] = 'INCLUDED_%s_%s_IMPL_H' % (package.upper(), name.upper())
d['BASE_NAME'] = re.sub ('^' + package + '_', '', name)
d['SPTR_NAME'] = '%s_sptr' % name
d['WARNING'] = 'WARNING: this file is machine generated. Edits will be overwritten'