module Database.DuckDB.FFI.SelectionVector (
c_duckdb_create_selection_vector,
c_duckdb_destroy_selection_vector,
c_duckdb_selection_vector_get_data_ptr,
) where
import Database.DuckDB.FFI.Types
import Foreign.Ptr (Ptr)
foreign import ccall safe "duckdb_create_selection_vector"
c_duckdb_create_selection_vector :: DuckDBIdx -> IO DuckDBSelectionVector
foreign import ccall safe "duckdb_destroy_selection_vector"
c_duckdb_destroy_selection_vector :: DuckDBSelectionVector -> IO ()
foreign import ccall safe "duckdb_selection_vector_get_data_ptr"
c_duckdb_selection_vector_get_data_ptr :: DuckDBSelectionVector -> IO (Ptr DuckDBSel)