root/maint/gnulib/tests/test-uchar-c++.cc

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

   1 /* Test of <uchar.h> substitute in C++ mode.
   2    Copyright (C) 2019-2021 Free Software Foundation, Inc.
   3 
   4    This program is free software: you can redistribute it and/or modify
   5    it under the terms of the GNU General Public License as published by
   6    the Free Software Foundation; either version 3 of the License, or
   7    (at your option) any later version.
   8 
   9    This program is distributed in the hope that it will be useful,
  10    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12    GNU General Public License for more details.
  13 
  14    You should have received a copy of the GNU General Public License
  15    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
  16 
  17 /* Written by Bruno Haible <bruno@clisp.org>, 2019.  */
  18 
  19 #define GNULIB_NAMESPACE gnulib
  20 #include <config.h>
  21 
  22 #include <uchar.h>
  23 
  24 #include "signature.h"
  25 
  26 
  27 #if GNULIB_TEST_BTOC32
  28 SIGNATURE_CHECK (GNULIB_NAMESPACE::btoc32, wint_t, (int));
  29 #endif
  30 
  31 #if GNULIB_TEST_C32ISALNUM
  32 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isalnum, int, (wint_t));
  33 #endif
  34 
  35 #if GNULIB_TEST_C32ISALPHA
  36 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isalpha, int, (wint_t));
  37 #endif
  38 
  39 #if GNULIB_TEST_C32ISBLANK
  40 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isblank, int, (wint_t));
  41 #endif
  42 
  43 #if GNULIB_TEST_C32ISCNTRL
  44 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32iscntrl, int, (wint_t));
  45 #endif
  46 
  47 #if GNULIB_TEST_C32ISDIGIT
  48 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isdigit, int, (wint_t));
  49 #endif
  50 
  51 #if GNULIB_TEST_C32ISGRAPH
  52 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isgraph, int, (wint_t));
  53 #endif
  54 
  55 #if GNULIB_TEST_C32ISLOWER
  56 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32islower, int, (wint_t));
  57 #endif
  58 
  59 #if GNULIB_TEST_C32ISPRINT
  60 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isprint, int, (wint_t));
  61 #endif
  62 
  63 #if GNULIB_TEST_C32ISPUNCT
  64 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32ispunct, int, (wint_t));
  65 #endif
  66 
  67 #if GNULIB_TEST_C32ISSPACE
  68 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isspace, int, (wint_t));
  69 #endif
  70 
  71 #if GNULIB_TEST_C32ISUPPER
  72 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isupper, int, (wint_t));
  73 #endif
  74 
  75 #if GNULIB_TEST_C32ISXDIGIT
  76 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32isxdigit, int, (wint_t));
  77 #endif
  78 
  79 #if GNULIB_TEST_C32RTOMB
  80 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32rtomb, size_t,
  81                  (char *, char32_t , mbstate_t *));
  82 #endif
  83 
  84 #if GNULIB_TEST_C32SNRTOMBS
  85 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32snrtombs, size_t,
  86                  (char *, const char32_t **, size_t, size_t, mbstate_t *));
  87 #endif
  88 
  89 #if GNULIB_TEST_C32SRTOMBS
  90 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32srtombs, size_t,
  91                  (char *, const char32_t **, size_t, mbstate_t *));
  92 #endif
  93 
  94 #if GNULIB_TEST_C32STOMBS
  95 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32stombs, size_t,
  96                  (char *, const char32_t *, size_t));
  97 #endif
  98 
  99 #if GNULIB_TEST_C32TOB
 100 SIGNATURE_CHECK (GNULIB_NAMESPACE::c32tob, int, (wint_t));
 101 #endif
 102 
 103 #if GNULIB_TEST_MBRTOC32
 104 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbrtoc32, size_t,
 105                  (char32_t *, const char *, size_t, mbstate_t *));
 106 #endif
 107 
 108 #if GNULIB_TEST_MBSNRTOC32S
 109 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbsnrtoc32s, size_t,
 110                  (char32_t *, const char **, size_t, size_t, mbstate_t *));
 111 
 112 #endif
 113 
 114 #if GNULIB_TEST_MBSRTOC32S
 115 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbsrtoc32s, size_t,
 116                  (char32_t *, const char **, size_t, mbstate_t *));
 117 #endif
 118 
 119 #if GNULIB_TEST_MBSTOC32S
 120 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbstoc32s, size_t,
 121                  (char32_t *, const char *, size_t));
 122 #endif
 123 
 124 
 125 int
 126 main ()
     /* [previous][next][first][last][top][bottom][index][help] */
 127 {
 128 }

/* [previous][next][first][last][top][bottom][index][help] */