parameters: (self, config)
return_statement: return {'Win32': 'x86', 'x64': 'x64'}.get(platform, 'x86')
docstring: Get architecture based on msvs_configuration_platform and
      msvs_target_platform. Returns either 'x86' or 'x64'.
docstring_summary: Get architecture based on msvs_configuration_platform and
      msvs_target_platform. Returns either 'x86' or 'x64'.
docstring_tokens: Get architecture based on msvs_configuration_platform and msvs_target_platform . Returns either x86 or x64 .
function: def GetArch(self, config):
      """Get architecture based on msvs_configuration_platform and
      msvs_target_platform. Returns either 'x86' or 'x64'."""
      configuration_platform = self.msvs_configuration_platform.get(config, '')
      platform = self.msvs_target_platform.get(config, '')
      if not platform: # If no specific override, use the configuration's.
        platform = configuration_platform
      # Map from platform to architecture.
      return {'Win32': 'x86', 'x64': 'x64'}.get(platform, 'x86')
function_tokens: def GetArch ( self , config ) : configuration_platform = self . msvs_configuration_platform . get ( config , '' ) platform = self . msvs_target_platform . get ( config , '' ) if not platform : # If no specific override, use the configuration's. platform = configuration_platform # Map from platform to architecture. return { 'Win32' : 'x86' , 'x64' : 'x64' } . get ( platform , 'x86' )