Subversion Repositories Games.Descent

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * This file is part of PhysicsFS (https://icculus.org/physfs/)
  3.  *
  4.  * This data generated by physfs/extras/makecasefoldhashtable.pl ...
  5.  * Do not manually edit this file!
  6.  *
  7.  * Please see the file LICENSE.txt in the source's root directory.
  8.  */
  9.  
  10. #ifndef _INCLUDE_PHYSFS_CASEFOLDING_H_
  11. #define _INCLUDE_PHYSFS_CASEFOLDING_H_
  12.  
  13. #ifndef __PHYSICSFS_INTERNAL__
  14. #error Do not include this header from your applications.
  15. #endif
  16.  
  17. /* We build three simple hashmaps here: one that maps Unicode codepoints to
  18. a one, two, or three lowercase codepoints. To retrieve this info: look at
  19. case_fold_hashX, where X is 1, 2, or 3. Most foldable codepoints fold to one,
  20. a few dozen fold to two, and a handful fold to three. If the codepoint isn't
  21. in any of these hashes, it doesn't fold (no separate upper and lowercase).
  22.  
  23. Almost all these codepoints fit into 16 bits, so we hash them as such to save
  24. memory. If a codepoint is > 0xFFFF, we have separate hashes for them,
  25. since there are (currently) only about 120 of them and (currently) all of them
  26. map to a single lowercase codepoint. */#endif  /* _INCLUDE_PHYSFS_CASEFOLDING_H_ */
  27.  
  28. /* end of physfs_casefolding.h ... */
  29.  
  30.