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

gio.contentTypeGuess args can be nullable #160

Open
gavr123456789 opened this issue Jul 19, 2021 · 0 comments
Open

gio.contentTypeGuess args can be nullable #160

gavr123456789 opened this issue Jul 19, 2021 · 0 comments

Comments

@gavr123456789
Copy link

https://developer.gnome.org/gio/stable/gio-GContentType.html#g-content-type-guess

filename a string, or NULL. [nullable]
data a stream of data, or NULL. [nullable][array length=data_size]

In nim there are:

proc contentTypeGuess*(filename: cstring = ""; data: seq[uint8] | string;
    resultUncertain: var bool = cast[var bool](nil)): string =
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