Skip to content

Commit

Permalink
Add duckdb_append_varchar_length
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgi committed Sep 29, 2023
1 parent 50a4879 commit b01befb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DuckDB.NET.Bindings/NativeMethods/NativeMethods.Appender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ public static class Appender
[DllImport(DuckDbLibrary, CallingConvention = CallingConvention.Cdecl, EntryPoint = "duckdb_append_varchar")]
public static extern DuckDBState DuckDBAppendVarchar(DuckDBAppender appender, SafeUnmanagedMemoryHandle val);

#if NET5_0_OR_GREATER
[SuppressGCTransition]
#endif
[DllImport(DuckDbLibrary, CallingConvention = CallingConvention.Cdecl, EntryPoint = "duckdb_append_varchar_length")]
public static extern DuckDBState DuckDBAppendVarchar(DuckDBAppender appender, SafeUnmanagedMemoryHandle val, int length);

#if NET5_0_OR_GREATER
[SuppressGCTransition]
#endif
Expand Down

0 comments on commit b01befb

Please sign in to comment.