| 1272 | } |
| 1273 | |
| 1274 | static const char * |
| 1275 | npyiter_casting_to_string(NPY_CASTING casting) |
| 1276 | { |
| 1277 | switch (casting) { |
| 1278 | case NPY_NO_CASTING: |
| 1279 | return "'no'"; |
| 1280 | case NPY_EQUIV_CASTING: |
| 1281 | return "'equiv'"; |
| 1282 | case NPY_SAFE_CASTING: |
| 1283 | return "'safe'"; |
| 1284 | case NPY_SAME_KIND_CASTING: |
| 1285 | return "'same_kind'"; |
| 1286 | case NPY_UNSAFE_CASTING: |
| 1287 | return "'unsafe'"; |
| 1288 | default: |
| 1289 | return "<unknown>"; |
| 1290 | } |
| 1291 | } |
| 1292 | |
| 1293 | |
| 1294 | static int |
no outgoing calls
no test coverage detected