parameters: (is_c_project, project_templates_dir)
return_statement: return stub_directory
docstring: Decides what directory to pull source code from.
  
    Args:
      is_c_project: A boolean indicating whether this project is in C or not.
      project_templates_dir: The path to the project_templates directory.
  
    Returns:
      The code directory for the given project type.
docstring_summary: Decides what directory to pull source code from.
docstring_tokens: Decides what directory to pull source code from .
function: def GetCodeDirectory(is_c_project, project_templates_dir):
    """Decides what directory to pull source code from.
  
    Args:
      is_c_project: A boolean indicating whether this project is in C or not.
      project_templates_dir: The path to the project_templates directory.
  
    Returns:
      The code directory for the given project type.
    """
    stub_directory = ''
    if is_c_project:
      stub_directory = os.path.join(project_templates_dir, 'c')
    else:
      stub_directory = os.path.join(project_templates_dir, 'cc')
    return stub_directory
function_tokens: def GetCodeDirectory ( is_c_project , project_templates_dir ) : stub_directory = '' if is_c_project : stub_directory = os . path . join ( project_templates_dir , 'c' ) else : stub_directory = os . path . join ( project_templates_dir , 'cc' ) return stub_directory