Lines Matching refs:PassthroughFormat
191 template <typename T, char F> struct PassthroughFormat { struct
196 template <> struct PythonFormat<char *> : PassthroughFormat<char *, 's'> {}; argument
197 template <> struct PythonFormat<char> : PassthroughFormat<char, 'b'> {};
199 struct PythonFormat<unsigned char> : PassthroughFormat<unsigned char, 'B'> {};
200 template <> struct PythonFormat<short> : PassthroughFormat<short, 'h'> {};
202 struct PythonFormat<unsigned short> : PassthroughFormat<unsigned short, 'H'> {};
203 template <> struct PythonFormat<int> : PassthroughFormat<int, 'i'> {};
204 template <> struct PythonFormat<bool> : PassthroughFormat<bool, 'p'> {};
206 struct PythonFormat<unsigned int> : PassthroughFormat<unsigned int, 'I'> {};
207 template <> struct PythonFormat<long> : PassthroughFormat<long, 'l'> {};
209 struct PythonFormat<unsigned long> : PassthroughFormat<unsigned long, 'k'> {};
211 struct PythonFormat<long long> : PassthroughFormat<long long, 'L'> {};
214 : PassthroughFormat<unsigned long long, 'K'> {};
216 struct PythonFormat<PyObject *> : PassthroughFormat<PyObject *, 'O'> {};