parameters: (self, defines=True, headers=False, define_prefix='')
return_statement: return "\n".join(lst)
docstring: Create the contents of a ``config.h`` file from the defines and includes
  	set in conf.env.define_key / conf.env.include_key. No include guards are added.
  
  	:param defines: write the defines values
  	:type defines: bool
  	:param headers: write the headers
  	:type headers: bool
  	:type define_prefix: string
  	:param define_prefix: prefix all the defines with a particular prefix
  	:return: the contents of a ``config.h`` file
  	:rtype: string
docstring_summary: Create the contents of a ``config.h`` file from the defines and includes
  	set in conf.env.define_key / conf.env.include_key. No include guards are added.
docstring_tokens: Create the contents of a config . h file from the defines and includes set in conf . env . define_key / conf . env . include_key . No include guards are added .
function: def get_config_header(self, defines=True, headers=False, define_prefix=''):
  	"""
  	Create the contents of a ``config.h`` file from the defines and includes
  	set in conf.env.define_key / conf.env.include_key. No include guards are added.
  
  	:param defines: write the defines values
  	:type defines: bool
  	:param headers: write the headers
  	:type headers: bool
  	:type define_prefix: string
  	:param define_prefix: prefix all the defines with a particular prefix
  	:return: the contents of a ``config.h`` file
  	:rtype: string
  	"""
  	lst = []
  	if headers:
  		for x in self.env[INCKEYS]:
  			lst.append('#include <%s>' % x)
  
  	if defines:
  		for x in self.env[DEFKEYS]:
  			if self.is_defined(x):
  				val = self.get_define(x)
  				lst.append('#define %s %s' % (define_prefix + x, val))
  			else:
  				lst.append('/* #undef %s */' % (define_prefix + x))
  	return "\n".join(lst)
function_tokens: def get_config_header ( self , defines = True , headers = False , define_prefix = '' ) : lst = [ ] if headers : for x in self . env [ INCKEYS ] : lst . append ( '#include <%s>' % x ) if defines : for x in self . env [ DEFKEYS ] : if self . is_defined ( x ) : val = self . get_define ( x ) lst . append ( '#define %s %s' % ( define_prefix + x , val ) ) else : lst . append ( '/* #undef %s */' % ( define_prefix + x ) ) return "\n" . join ( lst )