gccxml_gem 0.9.3-x86-darwin-10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. data/Rakefile +84 -0
  2. data/bin/gccxml +0 -0
  3. data/bin/gccxml_cc1plus +0 -0
  4. data/gccxml.rb +57 -0
  5. data/share/doc/gccxml-0.9/Copyright.txt +55 -0
  6. data/share/doc/gccxml-0.9/gccxml.html +168 -0
  7. data/share/doc/gccxml-0.9/gccxml.txt +293 -0
  8. data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
  9. data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
  10. data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
  11. data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
  12. data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
  13. data/share/gccxml-0.9/GCC/2.95/complex +38 -0
  14. data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
  15. data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
  16. data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
  17. data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
  18. data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
  19. data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
  20. data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
  21. data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
  22. data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
  23. data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
  24. data/share/gccxml-0.9/GCC/2.95/deque +19 -0
  25. data/share/gccxml-0.9/GCC/2.95/exception +20 -0
  26. data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
  27. data/share/gccxml-0.9/GCC/2.95/functional +64 -0
  28. data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
  29. data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
  30. data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
  31. data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
  32. data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
  33. data/share/gccxml-0.9/GCC/2.95/list +19 -0
  34. data/share/gccxml-0.9/GCC/2.95/map +20 -0
  35. data/share/gccxml-0.9/GCC/2.95/memory +21 -0
  36. data/share/gccxml-0.9/GCC/2.95/new +13 -0
  37. data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
  38. data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
  39. data/share/gccxml-0.9/GCC/2.95/queue +20 -0
  40. data/share/gccxml-0.9/GCC/2.95/set +20 -0
  41. data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
  42. data/share/gccxml-0.9/GCC/2.95/stack +19 -0
  43. data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
  44. data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
  45. data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
  46. data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
  47. data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
  48. data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
  49. data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
  50. data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
  51. data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
  52. data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
  53. data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
  54. data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
  55. data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
  56. data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
  57. data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
  58. data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
  59. data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
  60. data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
  61. data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
  62. data/share/gccxml-0.9/GCC/2.95/string +26 -0
  63. data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
  64. data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
  65. data/share/gccxml-0.9/GCC/2.95/utility +25 -0
  66. data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
  67. data/share/gccxml-0.9/GCC/2.95/vector +19 -0
  68. data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
  69. data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
  70. data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
  71. data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
  72. data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +585 -0
  73. data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
  74. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
  75. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
  76. data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
  77. data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
  78. data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
  79. data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
  80. data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
  81. data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
  82. data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
  83. data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
  84. data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
  85. data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
  86. data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
  87. data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
  88. data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
  89. data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
  90. data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
  91. data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
  92. data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
  93. data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
  94. data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
  95. data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
  96. data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
  97. data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
  98. data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
  99. data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
  100. data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +669 -0
  101. data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
  102. data/share/gccxml-0.9/GCC/4.0/emmintrin.h +5 -0
  103. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_emmintrin.h +1037 -0
  104. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_mmintrin.h +669 -0
  105. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_xmmintrin.h +870 -0
  106. data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
  107. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_emmintrin.h +977 -0
  108. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_mmintrin.h +636 -0
  109. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_xmmintrin.h +833 -0
  110. data/share/gccxml-0.9/GCC/4.0/mmintrin.h +5 -0
  111. data/share/gccxml-0.9/GCC/4.0/xmmintrin.h +5 -0
  112. data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +622 -0
  113. data/share/gccxml-0.9/GCC/4.1/emmintrin.h +5 -0
  114. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_emmintrin.h +1509 -0
  115. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_mmintrin.h +942 -0
  116. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_xmmintrin.h +1192 -0
  117. data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
  118. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_emmintrin.h +1004 -0
  119. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_mmintrin.h +637 -0
  120. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_xmmintrin.h +834 -0
  121. data/share/gccxml-0.9/GCC/4.1/mmintrin.h +5 -0
  122. data/share/gccxml-0.9/GCC/4.1/xmmintrin.h +5 -0
  123. data/share/gccxml-0.9/GCC/4.2/emmintrin.h +5 -0
  124. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_emmintrin.h +1509 -0
  125. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_mmintrin.h +942 -0
  126. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_xmmintrin.h +1192 -0
  127. data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
  128. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_emmintrin.h +1013 -0
  129. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_mmintrin.h +663 -0
  130. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_xmmintrin.h +860 -0
  131. data/share/gccxml-0.9/GCC/4.2/mmintrin.h +5 -0
  132. data/share/gccxml-0.9/GCC/4.2/xmmintrin.h +5 -0
  133. data/share/gccxml-0.9/GCC/4.3/emmintrin.h +1043 -0
  134. data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +183 -0
  135. data/share/gccxml-0.9/GCC/4.3/mmintrin.h +663 -0
  136. data/share/gccxml-0.9/GCC/4.3/xmmintrin.h +867 -0
  137. data/share/gccxml-0.9/GCC/4.4/bits/c++config.h +1431 -0
  138. data/share/gccxml-0.9/GCC/4.4/emmintrin.h +1041 -0
  139. data/share/gccxml-0.9/GCC/4.4/gccxml_builtins.h +153 -0
  140. data/share/gccxml-0.9/GCC/4.4/mmintrin.h +662 -0
  141. data/share/gccxml-0.9/GCC/4.4/xmmintrin.h +864 -0
  142. data/share/gccxml-0.9/GCC/4.5/gccxml_builtins.h +154 -0
  143. data/share/gccxml-0.9/GCC/4.5/iomanip +349 -0
  144. data/share/gccxml-0.9/GCC/COPYING.RUNTIME +73 -0
  145. data/share/gccxml-0.9/GCC/COPYING3 +674 -0
  146. data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
  147. data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
  148. data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
  149. data/share/gccxml-0.9/IBM/README +8 -0
  150. data/share/gccxml-0.9/IBM/find_flags +51 -0
  151. data/share/gccxml-0.9/IBM/find_flags_common +48 -0
  152. data/share/gccxml-0.9/Intel/find_flags +56 -0
  153. data/share/gccxml-0.9/Intel/pthread.h +16 -0
  154. data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
  155. data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
  156. data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
  157. data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
  158. data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
  159. data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
  160. data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
  161. data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
  162. data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
  163. data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
  164. data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
  165. data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
  166. data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
  167. data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
  168. data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
  169. data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
  170. data/share/gccxml-0.9/Sun/README +8 -0
  171. data/share/gccxml-0.9/Sun/find_flags +51 -0
  172. data/share/gccxml-0.9/Sun/find_flags_common +42 -0
  173. data/share/gccxml-0.9/gccxml_config +2 -0
  174. data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
  175. data/share/man/man1/gccxml.1 +246 -0
  176. metadata +245 -0
@@ -0,0 +1,76 @@
1
+ #ifndef GCCXML_ALGORITHM
2
+ #define GCCXML_ALGORITHM
3
+
4
+ #include_next <algorithm>
5
+
6
+ // 25/2
7
+ namespace std
8
+ {
9
+ using ::for_each;
10
+ using ::find;
11
+ using ::find_if;
12
+ using ::find_end;
13
+ using ::find_first_of;
14
+ using ::adjacent_find;
15
+ using ::count;
16
+ using ::count_if;
17
+ using ::mismatch;
18
+ using ::equal;
19
+ using ::search;
20
+ using ::search_n;
21
+ using ::copy;
22
+ using ::copy_backward;
23
+ using ::swap;
24
+ using ::swap_ranges;
25
+ using ::iter_swap;
26
+ using ::transform;
27
+ using ::replace;
28
+ using ::replace_if;
29
+ using ::replace_copy;
30
+ using ::replace_copy_if;
31
+ using ::fill;
32
+ using ::fill_n;
33
+ using ::generate;
34
+ using ::generate_n;
35
+ using ::remove;
36
+ using ::remove_if;
37
+ using ::remove_copy;
38
+ using ::remove_copy_if;
39
+ using ::unique;
40
+ using ::unique_copy;
41
+ using ::reverse;
42
+ using ::reverse_copy;
43
+ using ::rotate;
44
+ using ::rotate_copy;
45
+ using ::random_shuffle;
46
+ using ::partition;
47
+ using ::stable_partition;
48
+ using ::stable_sort;
49
+ using ::partial_sort;
50
+ using ::partial_sort_copy;
51
+ using ::nth_element;
52
+ using ::lower_bound;
53
+ using ::upper_bound;
54
+ using ::equal_range;
55
+ using ::binary_search;
56
+ using ::merge;
57
+ using ::inplace_merge;
58
+ using ::includes;
59
+ using ::set_union;
60
+ using ::set_intersection;
61
+ using ::set_difference;
62
+ using ::set_symmetric_difference;
63
+ using ::push_heap;
64
+ using ::pop_heap;
65
+ using ::make_heap;
66
+ using ::sort_heap;
67
+ using ::min;
68
+ using ::max;
69
+ using ::min_element;
70
+ using ::max_element;
71
+ using ::lexicographical_compare;
72
+ using ::next_permutation;
73
+ using ::prev_permutation;
74
+ }
75
+
76
+ #endif
@@ -0,0 +1,17 @@
1
+ #ifndef GCCXML_BITSET
2
+ #define GCCXML_BITSET
3
+
4
+ #include "gccxml_bitset"
5
+
6
+ // 23.3.5
7
+ namespace std
8
+ {
9
+ using ::bitset;
10
+ using ::operator&;
11
+ using ::operator|;
12
+ using ::operator^;
13
+ using ::operator>>;
14
+ using ::operator<<;
15
+ }
16
+
17
+ #endif
@@ -0,0 +1,24 @@
1
+ #ifndef GCCXML_CCTYPE
2
+ #define GCCXML_CCTYPE
3
+
4
+ #include_next <cctype>
5
+
6
+ // 21.4/1
7
+ namespace std
8
+ {
9
+ using ::isalnum;
10
+ using ::isdigit;
11
+ using ::isprint;
12
+ using ::isupper;
13
+ using ::tolower;
14
+ using ::isalpha;
15
+ using ::isgraph;
16
+ using ::ispunct;
17
+ using ::isxdigit;
18
+ using ::toupper;
19
+ using ::iscntrl;
20
+ using ::islower;
21
+ using ::isspace;
22
+ }
23
+
24
+ #endif
@@ -0,0 +1,14 @@
1
+ #ifndef GCCXML_CLOCALE
2
+ #define GCCXML_CLOCALE
3
+
4
+ #include_next <clocale>
5
+
6
+ // 22.3/1
7
+ namespace std
8
+ {
9
+ //using ::lonv;
10
+ using ::localeconv;
11
+ using ::setlocale;
12
+ }
13
+
14
+ #endif
@@ -0,0 +1,33 @@
1
+ #ifndef GCCXML_CMATH
2
+ #define GCCXML_CMATH
3
+
4
+ #include_next <cmath>
5
+
6
+ // 26.5/1
7
+ namespace std
8
+ {
9
+ using ::acos;
10
+ using ::asin;
11
+ using ::atan;
12
+ using ::atan2;
13
+ using ::ceil;
14
+ using ::cos;
15
+ using ::cosh;
16
+ using ::exp;
17
+ using ::fabs;
18
+ using ::floor;
19
+ using ::fmod;
20
+ using ::frexp;
21
+ using ::ldexp;
22
+ using ::log;
23
+ using ::log10;
24
+ using ::modf;
25
+ using ::pow;
26
+ using ::sin;
27
+ using ::sinh;
28
+ using ::sqrt;
29
+ using ::tan;
30
+ using ::tanh;
31
+ }
32
+
33
+ #endif
@@ -0,0 +1,38 @@
1
+ #ifndef GCCXML_COMPLEX
2
+ #define GCCXML_COMPLEX
3
+
4
+ #include_next <complex>
5
+
6
+ // 26.2.1
7
+ namespace std
8
+ {
9
+ using ::complex;
10
+ using ::operator+;
11
+ using ::operator-;
12
+ using ::operator*;
13
+ using ::operator/;
14
+ using ::operator==;
15
+ using ::operator!=;
16
+ using ::operator>>;
17
+ using ::operator<<;
18
+ using ::real;
19
+ using ::imag;
20
+ using ::abs;
21
+ using ::arg;
22
+ using ::norm;
23
+ using ::conj;
24
+ using ::polar;
25
+ using ::cos;
26
+ using ::cosh;
27
+ using ::exp;
28
+ using ::log;
29
+ using ::log10;
30
+ using ::pow;
31
+ using ::sin;
32
+ using ::sinh;
33
+ using ::sqrt;
34
+ using ::tan;
35
+ using ::tanh;
36
+ }
37
+
38
+ #endif
@@ -0,0 +1,13 @@
1
+ #ifndef GCCXML_CSETJMP
2
+ #define GCCXML_CSETJMP
3
+
4
+ #include_next <csetjmp>
5
+
6
+ // 18.7/1
7
+ namespace std
8
+ {
9
+ using ::jmp_buf;
10
+ using ::longjmp;
11
+ }
12
+
13
+ #endif
@@ -0,0 +1,14 @@
1
+ #ifndef GCCXML_CSIGNAL
2
+ #define GCCXML_CSIGNAL
3
+
4
+ #include_next <csignal>
5
+
6
+ // 18.7/1
7
+ namespace std
8
+ {
9
+ using ::sig_atomic_t;
10
+ using ::raise;
11
+ using ::signal;
12
+ }
13
+
14
+ #endif
@@ -0,0 +1,12 @@
1
+ #ifndef GCCXML_CSTDARG
2
+ #define GCCXML_CSTDARG
3
+
4
+ #include_next <cstdarg>
5
+
6
+ // 18.7/1
7
+ namespace std
8
+ {
9
+ using ::va_list;
10
+ }
11
+
12
+ #endif
@@ -0,0 +1,13 @@
1
+ #ifndef GCCXML_CSTDDEF
2
+ #define GCCXML_CSTDDEF
3
+
4
+ #include_next <cstddef>
5
+
6
+ // 18.1/2
7
+ namespace std
8
+ {
9
+ using ::ptrdiff_t;
10
+ using ::size_t;
11
+ }
12
+
13
+ #endif
@@ -0,0 +1,55 @@
1
+ #ifndef GCCXML_CSTDIO
2
+ #define GCCXML_CSTDIO
3
+
4
+ #include_next <cstdio>
5
+
6
+ // 27.8.2/1
7
+ namespace std
8
+ {
9
+ using ::FILE;
10
+ using ::fpos_t;
11
+ using ::size_t;
12
+ using ::clearerr;
13
+ using ::fclose;
14
+ using ::feof;
15
+ using ::ferror;
16
+ using ::fflush;
17
+ using ::fgetc;
18
+ using ::fgetpos;
19
+ using ::fgets;
20
+ using ::fopen;
21
+ using ::fprintf;
22
+ using ::fputc;
23
+ using ::fputs;
24
+ using ::fread;
25
+ using ::freopen;
26
+ using ::fscanf;
27
+ using ::fseek;
28
+ using ::fsetpos;
29
+ using ::ftell;
30
+ using ::fwrite;
31
+ using ::getc;
32
+ using ::getchar;
33
+ using ::gets;
34
+ using ::perror;
35
+ using ::printf;
36
+ using ::putc;
37
+ using ::putchar;
38
+ using ::puts;
39
+ using ::remove;
40
+ using ::rename;
41
+ using ::rewind;
42
+ using ::scanf;
43
+ using ::setbuf;
44
+ using ::setvbuf;
45
+ using ::sprintf;
46
+ using ::sscanf;
47
+ using ::tmpfile;
48
+ using ::tmpnam;
49
+ using ::ungetc;
50
+ using ::vfprintf;
51
+ using ::vprintf;
52
+ using ::vsprintf;
53
+ }
54
+
55
+ #endif
@@ -0,0 +1,66 @@
1
+ #ifndef GCCXML_CSTDLIB
2
+ #define GCCXML_CSTDLIB
3
+
4
+ #include_next <cstdlib>
5
+
6
+ // 18.3/1
7
+ namespace std
8
+ {
9
+ using ::abort;
10
+ using ::atexit;
11
+ using ::exit;
12
+ }
13
+
14
+ // 18.7/1
15
+ namespace std
16
+ {
17
+ using ::getenv;
18
+ using ::system;
19
+ }
20
+
21
+ // 20.4.6/1
22
+ namespace std
23
+ {
24
+ using ::calloc;
25
+ using ::malloc;
26
+ using ::free;
27
+ using ::realloc;
28
+ }
29
+
30
+ // 21.4/1
31
+ namespace std
32
+ {
33
+ using ::atol;
34
+ using ::atof;
35
+ using ::atoi;
36
+ using ::mblen;
37
+ using ::mbstowcs;
38
+ using ::mbtowc;
39
+ using ::strtod;
40
+ using ::strtol;
41
+ using ::strtoul;
42
+ using ::wctomb;
43
+ using ::wcstombs;
44
+ }
45
+
46
+ // 25.4/1
47
+ namespace std
48
+ {
49
+ using ::bsearch;
50
+ using ::qsort;
51
+ }
52
+
53
+ // 26.5/1
54
+ namespace std
55
+ {
56
+ using ::div_t;
57
+ using ::ldiv_t;
58
+ using ::abs;
59
+ using ::div;
60
+ using ::labs;
61
+ using ::ldiv;
62
+ using ::srand;
63
+ using ::rand;
64
+ }
65
+
66
+ #endif
@@ -0,0 +1,34 @@
1
+ #ifndef GCCXML_CSTRING
2
+ #define GCCXML_CSTRING
3
+
4
+ #include_next <cstring>
5
+
6
+ // 20.4.6/5, 21.4/1
7
+ namespace std
8
+ {
9
+ using ::size_t;
10
+ using ::memchr;
11
+ using ::memcmp;
12
+ using ::memcpy;
13
+ using ::memmove;
14
+ using ::memset;
15
+ using ::strcat;
16
+ using ::strchr;
17
+ using ::strcmp;
18
+ using ::strcoll;
19
+ using ::strcpy;
20
+ using ::strcspn;
21
+ using ::strerror;
22
+ using ::strlen;
23
+ using ::strncat;
24
+ using ::strncmp;
25
+ using ::strncpy;
26
+ using ::strpbrk;
27
+ using ::strrchr;
28
+ using ::strspn;
29
+ using ::strstr;
30
+ using ::strtok;
31
+ using ::strxfrm;
32
+ }
33
+
34
+ #endif
@@ -0,0 +1,24 @@
1
+ #ifndef GCCXML_CTIME
2
+ #define GCCXML_CTIME
3
+
4
+ #include_next <ctime>
5
+
6
+ // 18.7/1, 20.5
7
+ namespace std
8
+ {
9
+ using ::clock_t;
10
+ using ::size_t;
11
+ using ::time_t;
12
+ using ::asctime;
13
+ using ::clock;
14
+ using ::difftime;
15
+ using ::localtime;
16
+ using ::strftime;
17
+ using ::ctime;
18
+ using ::gmtime;
19
+ using ::mktime;
20
+ using ::time;
21
+ using ::tm;
22
+ }
23
+
24
+ #endif