Skip to content

Commit

Permalink
Add In Out modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgi committed Sep 8, 2023
1 parent 29b7222 commit c63d98f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuckDB.NET.Bindings/NativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ public static class Types
public static extern DuckDBTimestampStruct DuckDBValueTimestamp([In, Out] DuckDBResult result, long col, long row);

[DllImport(DuckDbLibrary, CallingConvention = CallingConvention.Cdecl, EntryPoint = "duckdb_result_get_chunk")]
public static extern IntPtr DuckDBResultGetChunk(DuckDBResult result, long chunkIndex);
public static extern IntPtr DuckDBResultGetChunk([In, Out] DuckDBResult result, long chunkIndex);

[DllImport(DuckDbLibrary, CallingConvention = CallingConvention.Cdecl, EntryPoint = "duckdb_result_chunk_count")]
public static extern long DuckDBResultChunkCount(DuckDBResult result);
public static extern long DuckDBResultChunkCount([In, Out] DuckDBResult result);
}

public static class PreparedStatements
Expand Down

0 comments on commit c63d98f

Please sign in to comment.