summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authorJohnathan Corgan2012-05-05 13:21:38 -0700
committerJohnathan Corgan2012-06-08 07:44:57 -0700
commit630cd06cb33d628fa6426866f006580aad30f84b (patch)
treebb3e819ebcec9a4b6100a43c026d5104481182a7 /gnuradio-core/src
parent9038efc67028ac6bab05bfd60a8de7e6c2ba3fd7 (diff)
downloadgnuradio-630cd06cb33d628fa6426866f006580aad30f84b.tar.gz
gnuradio-630cd06cb33d628fa6426866f006580aad30f84b.tar.bz2
gnuradio-630cd06cb33d628fa6426866f006580aad30f84b.zip
blocks: adds new top-level component gr-blocks with first block
gr::blocks::add_XX
Diffstat (limited to 'gnuradio-core/src')
-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 ce0757912..5b73cfb5c 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 over written'