[MSVCRT] implement _mbsbtype

Juan Lang juan_lang at yahoo.com
Mon Mar 14 17:43:31 CST 2005


Raphael wrote:
> +  if (!*str) { /** TODO: check *str validity */
> +    return -1; /** _MBC_ILLEGAL */
> +  }
> +  if (start == str && MSVCRT_isleadbyte(*str)) {
> +    return 1; /** _MBC_LEAD */
> +  }
> +  if (start == str && MSVCRT_isleadbyte(str[-1])) {
> +    return 2; /**_MBC_TRAIL */
> +  }
> +
> +  return 0; /** _MBC_SINGLE */

Cool.  How about patching mbctype.h with these constants too?

--Juan


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 



More information about the wine-devel mailing list