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); }
public static unsafe extern int mono_test_marshal_ptr_to_struct(CharInfo *ptr);