doc: better [windows_stdcall] info (#5780)

pull/5786/head
vitalyster 2020-07-10 14:14:08 +03:00 committed by GitHub
parent 75b7b9564a
commit 1a9690cc62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2161,9 +2161,9 @@ fn bar() {
[typedef]
struct C.Foo { }
// Declare a function with WINAPI
// Used in Win32 API code when you need to pass callback function
[windows_stdcall]
fn C.WinFunction()
fn C.DefWindowProc(hwnd int, msg int, lparam int, wparam int)
```