T
Tim
How do I memcpy from a pointer to an array of floats in python?
I get errors: NameError: global name 'row' is not defined
I want to be able to get the row array element. In C I would
normally place the address of row as the first argument.
cdll.msvcrt.memcpy( row, pData, 256 )
If I define row as the following I also get the following error:
row = ones( TOTAL_PARAMETER_ENTRIES, dtype=float )
ArgumentError: argument 1: <type 'exceptions.TypeError'>: Don't know
how to convert parameter 1
Thanks
I get errors: NameError: global name 'row' is not defined
I want to be able to get the row array element. In C I would
normally place the address of row as the first argument.
cdll.msvcrt.memcpy( row, pData, 256 )
If I define row as the following I also get the following error:
row = ones( TOTAL_PARAMETER_ENTRIES, dtype=float )
ArgumentError: argument 1: <type 'exceptions.TypeError'>: Don't know
how to convert parameter 1
Thanks