I am using csbindgen
version 1.8.3
.
// GroupedNativeMethods.cs
using GroupedNativeMethodsGenerator;
namespace Bindings;
[GroupedNativeMethods]
internal static unsafe partial class Libsql{}
Here's one example of a generated extension method.
// Bindings.Libsql.GroupedNativeMethods.g.cs
...
public static bool RowsIteratorNext(this ref global::Bindings.RowsIterator @rows_iterator)
{
return Libsql.rows_iterator_next((global::Bindings.RowsIterator*)Unsafe.AsPointer(ref @rows_iterator));
}
...
According to the documentation, I'd expect RowsIterator
to be stripped and to have the extension method simply be Next
. Am I missing something obvious? Thanks.