You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto col1_ptr = (int64_t *)duckdb_vector_get_data(duckdb_data_chunk_get_vector(data_chunk, 0));
*col1_ptr = 42;
I don't know c++ but I suspect that the function
duckdb_data_chunk_get_vector(data_chunk, 0)
should return a c_int64_t. Why I don't know as data_chunk in the test appears to be NULL. 42 is then mapped to this memory address.
We may need a helper function for duckdb_vector_get_data that converts the c pointer to a fortran (target) pointer that we can then map/assign to as in "=>"
List of functions needed for
test_data_chunk.f90
The text was updated successfully, but these errors were encountered: