JXChatpinyin.h 425 B

123456789101112131415161718192021222324
  1. /*
  2. * pinyin.h
  3. * Chinese Pinyin First Letter
  4. *
  5. * Created by George on 4/21/10.
  6. * Copyright 2010 RED/SAFI. All rights reserved.
  7. *
  8. */
  9. /*
  10. * // Example
  11. *
  12. * #import "JXChatpinyin.h"
  13. *
  14. * NSString *hanyu = @"中国共产党万岁!";
  15. * for (int i = 0; i < [hanyu length]; i++)
  16. * {
  17. * printf("%c", pinyinFirstLetter([hanyu characterAtIndex:i]));
  18. * }
  19. *
  20. */
  21. char pinyinFirstLetterXXX(unsigned short hanzi);