Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use boolean in function import #126

Open
furesoft opened this issue Mar 6, 2025 · 0 comments
Open

Cannot use boolean in function import #126

furesoft opened this issue Mar 6, 2025 · 0 comments

Comments

@furesoft
Copy link
Contributor

furesoft commented Mar 6, 2025

Hi,

I am trying to use a function like:

[DllImport(Functions.DLL, EntryPoint = "moss_api_delete")]
private static extern void DeleteNotebook(ulong acessorPtr, ulong callbackPtr, bool unload);

but I get the error: Unsupported parameter type: unload (System.Boolean) on System.Void Moss.NET.Sdk.Storage.Document::DeleteNotebook(System.UInt64,System.UInt64,System.Boolean) method.

Can you add support for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant