Thank you so much - I was such an idiot (see below).
>>> I see nothing wrong with your code so I'd say it is somewhere else (did
>>> you snip any code between the end of the loop and the return?).
>
>>No. (Apart from freeing allocated memory.)
>
> I'm pretty sure we'll find something interesting
> Thank you. At least I can exclude another few error sources, now.
>
>
>> I see nothing wrong with your code so I'd say it is somewhere else (did
>> you snip any code between the end of the loop and the return?).
>No. (Apart from freeing allocated memory.)
I'm pretty sure we'll find something i
Thank you. At least I can exclude another few error sources, now.
Cédric Lucantis wrote:
> I see nothing wrong with your code so I'd say it is somewhere else (did
> you snip any code between the end of the loop and the return?).
No. (Apart from freeing allocated memory.)
> I've never
> seen tho
Hi,
> Hi,
>
> currently I have a problem understanding Py_BuildValue. I have this code:
>
> static PyObject *function(PyObject *self, PyObject *args) {
>PyObject * python_return_value = NULL;
>PyObject * dummy = NULL;
>double * internal_list;
>
>
>/* converting to python repres
Hi,
currently I have a problem understanding Py_BuildValue. I have this code:
static PyObject *function(PyObject *self, PyObject *args) {
PyObject * python_return_value = NULL;
PyObject * dummy = NULL;
double * internal_list;
/* converting to python representation */
for (i