00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00048 #ifndef FASTFORMAT_INCL_FASTFORMAT_INTERNAL_H_SHIM_MACROS
00049 #define FASTFORMAT_INCL_FASTFORMAT_INTERNAL_H_SHIM_MACROS
00050
00051
00052
00053
00054
00055 #include <fastformat/fastformat.h>
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081 #ifndef FASTFORMAT_DOCUMENTATION_SKIP_SECTION
00082
00083
00084
00085
00086
00087 # ifdef FASTFORMAT_INVOKE_c_str_data_
00088 # undef FASTFORMAT_INVOKE_c_str_data_
00089 # endif
00090 # ifdef FASTFORMAT_INVOKE_c_str_len_
00091 # undef FASTFORMAT_INVOKE_c_str_len_
00092 # endif
00093 # ifdef FASTFORMAT_INVOKE_c_str_ptr_
00094 # undef FASTFORMAT_INVOKE_c_str_ptr_
00095 # endif
00096 # ifdef FASTFORMAT_INVOKE_SHIM_PAIR_
00097 # undef FASTFORMAT_INVOKE_SHIM_PAIR_
00098 # endif
00099 # ifdef FASTFORMAT_c_str_data_name_
00100 # undef FASTFORMAT_c_str_data_name_
00101 # endif
00102
00103 # ifdef FASTFORMAT_USE_WIDE_STRINGS
00104 # define FASTFORMAT_c_str_data_name_ c_str_data_w
00105 # define FASTFORMAT_c_str_len_name_ c_str_len_w
00106 # define FASTFORMAT_c_str_ptr_name_ c_str_ptr_w
00107 # else
00108 # define FASTFORMAT_c_str_data_name_ c_str_data_a
00109 # define FASTFORMAT_c_str_len_name_ c_str_len_a
00110 # define FASTFORMAT_c_str_ptr_name_ c_str_ptr_a
00111 # endif
00112
00113 # if defined(STLSOFT_COMPILER_IS_DMC)
00114 # define FASTFORMAT_INVOKE_c_str_data_(x) stlsoft::FASTFORMAT_c_str_data_name_(x)
00115 # define FASTFORMAT_INVOKE_c_str_len_(x) stlsoft::FASTFORMAT_c_str_len_name_(x)
00116 # define FASTFORMAT_INVOKE_c_str_ptr_(x) stlsoft::FASTFORMAT_c_str_ptr_name_(x)
00117 # define FASTFORMAT_DECLARE_c_str_ptr_() stlsoft_static_cast(void, 0)
00118 # define FASTFORMAT_DECLARE_c_str_datalen_PAIR_() stlsoft_static_cast(void, 0)
00119 # elif defined(STLSOFT_COMPILER_IS_GCC)
00120 # define FASTFORMAT_INVOKE_c_str_data_(x) FASTFORMAT_c_str_data_name_(x)
00121 # define FASTFORMAT_INVOKE_c_str_len_(x) FASTFORMAT_c_str_len_name_(x)
00122 # define FASTFORMAT_INVOKE_c_str_ptr_(x) FASTFORMAT_c_str_ptr_name_(x)
00123 # define FASTFORMAT_DECLARE_c_str_ptr_() using ::stlsoft::FASTFORMAT_c_str_ptr_name_
00124 # define FASTFORMAT_DECLARE_c_str_datalen_PAIR_() using ::stlsoft::FASTFORMAT_c_str_data_name_; using ::stlsoft::FASTFORMAT_c_str_len_name_
00125 # else
00126 # define FASTFORMAT_INVOKE_c_str_data_(x) FASTFORMAT_c_str_data_name_(x)
00127 # define FASTFORMAT_INVOKE_c_str_len_(x) FASTFORMAT_c_str_len_name_(x)
00128 # define FASTFORMAT_INVOKE_c_str_ptr_(x) FASTFORMAT_c_str_ptr_name_(x)
00129 # define FASTFORMAT_DECLARE_c_str_ptr_() using ::stlsoft::FASTFORMAT_c_str_ptr_name_
00130 # define FASTFORMAT_DECLARE_c_str_datalen_PAIR_() using ::stlsoft::FASTFORMAT_c_str_data_name_; using ::stlsoft::FASTFORMAT_c_str_len_name_
00131 # endif
00132 # define FASTFORMAT_INVOKE_SHIM_PAIR_(x) FASTFORMAT_INVOKE_c_str_data_(x), FASTFORMAT_INVOKE_c_str_len_(x)
00133
00134
00135
00136
00137
00138
00139 # ifdef FASTFORMAT_NO_FILTER_TYPE_CONVERSION_SHIM_SUPPORT
00140 # define FASTFORMAT_DECLARE_filter_type_() stlsoft_static_cast(void, 0)
00141 # define FASTFORMAT_INVOKE_filter_type_(x, y, z) (x)
00142 # else
00143 # ifdef FASTFORMAT_NO_NAMESPACE
00144 # define FASTFORMAT_DECLARE_filter_type_() stlsoft_static_cast(void, 0)
00145 # else
00146 # define FASTFORMAT_DECLARE_filter_type_() using ::fastformat::filters::filter_type
00147 # endif
00148 # define FASTFORMAT_INVOKE_filter_type_(x, y, z) filter_type(x, y, z)
00149 # endif
00150
00151
00152
00153
00154
00155
00156 # if defined(FASTFORMAT_NO_NAMESPACE)
00157 # define FASTFORMAT_DECLARE_fmt_slices_()
00158 # define FASTFORMAT_INVOKE_fmt_slices_(s, f, t, e, r) fmt_slices(s, f, t, e, r)
00159 # else
00160 # if defined(STLSOFT_COMPILER_IS_DMC)
00161 # define FASTFORMAT_DECLARE_fmt_slices_() stlsoft_static_cast(void, 0)
00162 # define FASTFORMAT_INVOKE_fmt_slices_(s, f, t, e, r) ::fastformat::sinks::fmt_slices(s, f, t, e, r)
00163 # elif defined(STLSOFT_COMPILER_IS_GCC)
00164 # define FASTFORMAT_DECLARE_fmt_slices_() using ::fastformat::sinks::fmt_slices
00165 # define FASTFORMAT_INVOKE_fmt_slices_(s, f, t, e, r) fmt_slices(s, f, t, e, r)
00166 # else
00167 # define FASTFORMAT_DECLARE_fmt_slices_() using ::fastformat::sinks::fmt_slices
00168 # define FASTFORMAT_INVOKE_fmt_slices_(s, f, t, e, r) fmt_slices(s, f, t, e, r)
00169 # endif
00170
00171 # endif
00172
00173
00174
00175
00176
00177
00178 # if !defined(FASTFORMAT_NO_NAMESPACE)
00179 # define FASTFORMAT_QUALIFY_HELPER_(x) ::fastformat::internal::helpers::x
00180 # else
00181 # define FASTFORMAT_QUALIFY_HELPER_(x) x
00182 # endif
00183
00184 #endif
00185
00186
00187
00188
00189
00190 #ifdef STLSOFT_CF_PRAGMA_ONCE_SUPPORT
00191 # pragma once
00192 #endif
00193
00194
00195
00196 #endif
00197
00198