コード例 #1
0
 public static void ClearRegexes()
 {
     if (Environment.Is64BitProcess)
     {
         NativeMethodsX64.ClearRegexes();
     }
     else
     {
         NativeMethodsX86.ClearRegexes();
     }
 }
コード例 #2
0
 public static unsafe int Matches(int regexIndex, String8Interop text, int fromTextIndex, Match2 *matches, int matchesLength, int timeoutMilliseconds)
 {
     return(Environment.Is64BitProcess
         ? NativeMethodsX64.Matches(regexIndex, text, fromTextIndex, matches, matchesLength, timeoutMilliseconds)
         : NativeMethodsX86.Matches(regexIndex, text, fromTextIndex, matches, matchesLength, timeoutMilliseconds));
 }
コード例 #3
0
 public static int BuildRegex(String8Interop regex, int regexOptions)
 {
     return(Environment.Is64BitProcess
         ? NativeMethodsX64.BuildRegex(regex, regexOptions)
         : NativeMethodsX86.BuildRegex(regex, regexOptions));
 }
コード例 #4
0
 public static int Test()
 {
     return(Environment.Is64BitProcess ? NativeMethodsX64.Test() : NativeMethodsX86.Test());
 }