-
Couldn't load subscription status.
- Fork 20
Open
Description
Thanks for implementing init so quickly last time!
I've found out, that the unsafe keyword is missing in the interface generation.
It's necessary for using pointer types
Example:
public class Test {
public unsafe Test* Function() {
return (Test*)0;
}
}Should generate:
public interface Test {
public unsafe Test* Function();
}On a side note, I've also seen that IntPtr gets converted to nint - they are syntactically the same but slightly differ in semantics, where IntPtr always denotes "unsafe" pointers and nint just being a representation of the native integer size.
Nothing too critical but just wanted to point it out
ChaseFlorell
Metadata
Metadata
Assignees
Labels
No labels