fn generate_swell_windows_method_body(ptr: &FnPtr, fn_name: Ident) -> Block {
            let fn_ptr_call = generate_fn_ptr_call(&ptr.signature, fn_name);
            syn::parse_quote! {
                {
                    unsafe { windows::#fn_ptr_call }
                }
            }
        }
/// Generates the body of a Swell method that just delegates to the corresponding Windows
/// function instead of calling the function pointer (which wouldn't exist because on
/// Windows SWELL is neither available nor necessary).
Generates the body of a Swell method that just delegates to the corresponding Windows
function instead of calling the function pointer (which wouldn't exist because on
Windows SWELL is neither available nor necessary).
Generates the body of a Swell method that just delegates to the corresponding Windows function instead of calling the function pointer ( which wouldn ' t exist because on Windows SWELL is neither available nor necessary ) .
fn generate_swell_windows_method_body(ptr: &FnPtr, fn_name: Ident) -> Block {
            let fn_ptr_call = generate_fn_ptr_call(&ptr.signature, fn_name);
            syn::parse_quote! {
                {
                    unsafe { windows::#fn_ptr_call }
                }
            }
        }
fn generate_swell_windows_method_body ( ptr : & FnPtr , fn_name : Ident ) -> Block { let fn_ptr_call = generate_fn_ptr_call ( & ptr . signature , fn_name ) ; syn :: parse_quote ! { { unsafe { windows fn_ptr_call } } } }
Generates the body of a Swell method that just delegates to the corresponding Windows
function instead of calling the function pointer (which wouldn't exist because on
Windows SWELL is neither available nor necessary).
Generates the body of a Swell method that just delegates to the corresponding Windows function instead of calling the function pointer ( which wouldn ' t exist because on Windows SWELL is neither available nor necessary ) .
ptr
&FnPtr
fn_name
Ident
ptr
&FnPtr
fn_name
Ident