Copy integer */
| 188 | |
| 189 | /* Copy integer */ |
| 190 | static void |
| 191 | BigInt_Copy(BigInt *dst, const BigInt *src) |
| 192 | { |
| 193 | npy_uint32 length = src->length; |
| 194 | npy_uint32 * dstp = dst->blocks; |
| 195 | const npy_uint32 *srcp; |
| 196 | for (srcp = src->blocks; srcp != src->blocks + length; ++dstp, ++srcp) { |
| 197 | *dstp = *srcp; |
| 198 | } |
| 199 | dst->length = length; |
| 200 | } |
| 201 | |
| 202 | /* Basic type accessors */ |
| 203 | static void |
no outgoing calls
no test coverage detected