Skip to content

Commit

Permalink
Missing header for new GitWildcardMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmauro committed Jun 26, 2022
1 parent 50455ad commit 1443fe2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Miscellaneous.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ BOOL WildcardMatch(_In_ LPCWSTR szTextW, _In_ SIZE_T nTextLen, _In_ LPCWSTR szPa
// a/**/b a/b, a/x/b, a/x/y/b but not x/a/b, a/b/x
// a/** a/x, a/y, a/x/y but not a, b/x
// a\?b a?b but not a, b, ab, axb, a/b

BOOL GitWildcardMatch(_In_ LPCWSTR szTextW, _In_ SIZE_T nTextLen, _In_ LPCWSTR szPatternW, _In_ SIZE_T nPatternLen)
{
SIZE_T nText1Backup = (SIZE_T)-1;
Expand Down
1 change: 1 addition & 0 deletions Miscellaneous.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ namespace MX {
namespace Misc {

BOOL WildcardMatch(_In_ LPCWSTR szTextW, _In_ SIZE_T nTextLen, _In_ LPCWSTR szPatternW, _In_ SIZE_T nPatternLen);
BOOL GitWildcardMatch(_In_ LPCWSTR szTextW, _In_ SIZE_T nTextLen, _In_ LPCWSTR szPatternW, _In_ SIZE_T nPatternLen);

BOOL String2Guid(_Out_ GUID &sGuid, _In_ LPCSTR szGuidA, _In_ SIZE_T nGuidLength = (SIZE_T)-1);
BOOL String2Guid(_Out_ GUID &sGuid, _In_ LPCWSTR szGuidW, _In_ SIZE_T nGuidLength = (SIZE_T)-1);
Expand Down

0 comments on commit 1443fe2

Please sign in to comment.