Skip to content

GroupingExtensionMethods fails to strip type name from function name #57

@tvandinther

Description

@tvandinther

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions