Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move all interop code under Interop namespace #29

Merged
merged 1 commit into from
Apr 24, 2019
Merged

Move all interop code under Interop namespace #29

merged 1 commit into from
Apr 24, 2019

Conversation

mjcheetham
Copy link
Collaborator

Move all the platform specific interop code to the Interop namespace and also group the P/Invoke calls into classes representing the modules/libraries/headers the original C functions live in.

This PR contains only moves and renames.

This change is a precursor to a subsequent PR which will add native TTY interaction for UNIX-like and Windows platforms.. of which there is more interop code. This refactor helps readability of that change.

@mjcheetham mjcheetham added platform:osx Specific to the macOS platform platform:windows Specific to the Windows platform engineering Refactoring or build changes labels Apr 12, 2019
Copy link
Contributor

@jamill jamill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks!

Move all the platform specific interop code to the `Interop` namespace
and also group the P/Invoke calls into classes representing the
modules/libraries/headers the original C functions live in.
@mjcheetham mjcheetham merged commit 1d70ec3 into git-ecosystem:master Apr 24, 2019
@mjcheetham mjcheetham deleted the interop-refactor branch April 24, 2019 15:29
mjcheetham added a commit that referenced this pull request May 8, 2019
Merge master to release including #29, #30, #32, #33, #34, #35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Refactoring or build changes platform:osx Specific to the macOS platform platform:windows Specific to the Windows platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants