home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / zfamily.zip / zfamily / ZNLFUNCS / H / ZNLMACRO.H < prev    next >
Text File  |  1993-09-21  |  1KB  |  41 lines

  1. /*
  2. ** /----------------------------------------------------------------------\
  3. ** |             IBM Z Family Reusable Libraries/2 (5641-504)             |
  4. ** |----------------------------------------------------------------------|
  5. ** | (C) Copyright International Business Machines Corporation 1993, 1994 |
  6. ** \----------------------------------------------------------------------/
  7. **
  8. **  Header   : ZNLMACRO.H
  9. **  Author   : Dario de Judicibus (DEJUDICI at ROMEPPC)
  10. **  Created  : 20 Apr 1993
  11. **  Updated  : 21 Sep 1993
  12. **  Version  : 3.22
  13. **  Content  : NLS Public Macros
  14. **
  15. */
  16.  #ifndef znlMACROS
  17.  #define znlMACROS 0
  18.  
  19. /* --------------------------------------------------------------------- */
  20.  
  21. /*
  22. **  Author   : Dario de Judicibus (DEJUDICI at ROMEPPC)
  23. **  Created  : 20 Apr 1993
  24. **  Updated  : 05 May 1993
  25. **  Version  : 3.20
  26. **  Content  : Macros to extract basic information about country settings
  27. **
  28. **  Layout   : (p) *  Pointer to a znlCOUNTRYINFO structure
  29. **
  30. */
  31.  #define  znlThsSep(p)       ((p)->CtryInfo.szThousandsSeparator[0])
  32.  #define  znlDecSep(p)       ((p)->CtryInfo.szDecimal[0])
  33.  #define  znlDateSep(p)      ((p)->CtryInfo.szDateSeparator[0])
  34.  #define  znlTimeSep(p)      ((p)->CtryInfo.szTimeSeparator[0])
  35.  #define  znlDataSep(p)      ((p)->CtryInfo.szDataSeparator[0])
  36.  #define  znlIsISO(p)        ((p)->Type == znlISO)
  37.  
  38. /* --------------------------------------------------------------------- */
  39.  
  40.  #endif
  41.