HomePhabricator

ctreemanifest: move ManifestPtr to its own header file

Authored by simpkins.

Description

ctreemanifest: move ManifestPtr to its own header file

Summary:
Define the ManifestPtr class in its own header file, to eliminate some of the
nasty circular dependencies between manifest.h, manifest_entry.h, and
manifest_fetcher.h

This makes the include process for these files much simpler, and prevents
manifest.h and manifest_entry.h from both trying to include each other at
different locations in their files.

This corresponds to Facebook diff D5588672.

Test Plan: Confirmed "make local" succeeds and the unit tests pass.

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Differential Revision: https://phab.mercurial-scm.org/D506

Details

Committed
simpkinsAug 25 2017, 7:46 PM
Reviewer
Restricted Project
Differential Revision
D506: ctreemanifest: move ManifestPtr to its own header file
Parents
rFBHGXcd6a0869efe8: clib: simplify include paths in C extensions
Branches
Unknown
Tags
Unknown