예제 #1
0
        public unsafe char *SeekToOtherType(char *begin, char *end, CharInfo c, CharInfo *fail, int *cLen)
        {
            char *ptr = begin;

            *cLen = 0;
            *fail = this.GetCharInfo(*ptr);
            while (ptr != end && c.IsKindOf(*fail))
            {
                ptr++;
                (*cLen)++;
                c = *fail;
                *fail = this.GetCharInfo(*ptr);
            }
            return(ptr);
        }
예제 #2
0
 public static unsafe extern int mono_test_marshal_ptr_to_struct(CharInfo *ptr);