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

useful to add an example to the @winmain attribute #74

Open
joshring opened this issue Oct 10, 2024 · 1 comment
Open

useful to add an example to the @winmain attribute #74

joshring opened this issue Oct 10, 2024 · 1 comment

Comments

@joshring
Copy link
Contributor

Would it be useful to add an example to the @winmain attribute showing how one might want to define the main function? I have seen @christoffer L giving the example below here in discord

fn int main(
    Win32_HINSTANCE hInstance,
    Win32_HINSTANCE hPrevInstance,
    String[] commands,
    int nCmdShow
) @winmain
@lerno
Copy link
Contributor

lerno commented Oct 11, 2024

I think it should be added yes.

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

2 participants