parameters: (self, macros)
docstring: Add define macros to configuration
  
          Add the given sequence of macro name and value duples to the beginning
          of the define_macros list This list will be visible to all extension
          modules of the current package.
docstring_summary: Add define macros to configuration
docstring_tokens: Add define macros to configuration
function: def add_define_macros(self, macros):
          """Add define macros to configuration
  
          Add the given sequence of macro name and value duples to the beginning
          of the define_macros list This list will be visible to all extension
          modules of the current package.
          """
          dist = self.get_distribution()
          if dist is not None:
              if not hasattr(dist, 'define_macros'):
                  dist.define_macros = []
              dist.define_macros.extend(macros)
          else:
              self.define_macros.extend(macros)
function_tokens: def add_define_macros ( self , macros ) : dist = self . get_distribution ( ) if dist is not None : if not hasattr ( dist , 'define_macros' ) : dist . define_macros = [ ] dist . define_macros . extend ( macros ) else : self . define_macros . extend ( macros )