Lines Matching defs:PassthroughFormat
191 template <typename T, char F> struct PassthroughFormat {
196 template <> struct PythonFormat<char *> : PassthroughFormat<char *, 's'> {};
198 PassthroughFormat<const char *, 's'> {};
199 template <> struct PythonFormat<char> : PassthroughFormat<char, 'b'> {};
201 struct PythonFormat<unsigned char> : PassthroughFormat<unsigned char, 'B'> {};
202 template <> struct PythonFormat<short> : PassthroughFormat<short, 'h'> {};
204 struct PythonFormat<unsigned short> : PassthroughFormat<unsigned short, 'H'> {};
205 template <> struct PythonFormat<int> : PassthroughFormat<int, 'i'> {};
206 template <> struct PythonFormat<bool> : PassthroughFormat<bool, 'p'> {};
208 struct PythonFormat<unsigned int> : PassthroughFormat<unsigned int, 'I'> {};
209 template <> struct PythonFormat<long> : PassthroughFormat<long, 'l'> {};
211 struct PythonFormat<unsigned long> : PassthroughFormat<unsigned long, 'k'> {};
213 struct PythonFormat<long long> : PassthroughFormat<long long, 'L'> {};
216 : PassthroughFormat<unsigned long long, 'K'> {};
218 struct PythonFormat<PyObject *> : PassthroughFormat<PyObject *, 'O'> {};