Christopher Barker wrote:
> static int
> @fn...@_fromstr(char *str, @type@ *ip, char **endptr, PyArray_Descr
> *NPY_UNUSED(ignore))
> {
> double result;
> result = NumPyOS_ascii_strtod(str, endptr);
> *ip = (@type@) result;
> return 0;
> }
OK, I've done the diagnostics, but no
Pauli Virtanen wrote:
> ma, 2010-01-11 kello 16:11 -0800, Christopher Barker kirjoitti:
> [clip]
>> "If no conversion is performed, zero is returned and the value of nptr
>> is stored in the location referenced by endptr."
>>
>> off do do some more testing, but I guess that means that those pointe
ma, 2010-01-11 kello 16:11 -0800, Christopher Barker kirjoitti:
[clip]
> "If no conversion is performed, zero is returned and the value of nptr
> is stored in the location referenced by endptr."
>
> off do do some more testing, but I guess that means that those pointers
> need to be checked afte
Pauli Virtanen wrote:
> Thu, 07 Jan 2010 17:21:34 -0800, Christopher Barker wrote:
> [clip]
>> It does pass on that return value, but, from ctors.c:
>>
>> fromfile_next_element(FILE **fp, void *dptr, PyArray_Descr *dtype,
>>void *NPY_UNUSED(stream_data))
>> {
>> /* the