-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skyline: Consolidate use of P/Invoke into new library (#3270)
Introduce a new library for using P/Invoke. This makes Skyline's use of Win32 APIs more transparent and reduces code duplication. APIs for production code are in CommonUtil under namespace pwiz.Common.SystemUtil.PInvoke. Test-only use of P/Invoke goes in TestRunnerLib under namespace TestRunnerLib.PInvoke. New code inspections check for P/Invoke use outside these locations (with limited exceptions). New or modified uses of P/Invoke should follow conventions described in PInvokecommon and go in the correct namespace. Also update the expected values used during code inspection to check the size and shape of the P/Invoke APIs in CodeInspectionTest. New project dependencies: * Test depends on TestRunnerLib * TestFunctional depends on TestRunnerLib * TestRunnerLib depends on System.Windows.Forms
- Loading branch information
Showing
59 changed files
with
1,388 additions
and
894 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.