[][src]Macro gdnative_core::godot_wrap_method

macro_rules! godot_wrap_method {
    (
        $type_name:ty,
        fn $method_name:ident(
            &mut $self:ident
            $(,$pname:ident : $pty:ty)*
        ) -> $retty:ty
    ) => { ... };
}

Convenience macro to wrap an object's method into a function pointer that can be passed to the engine when registering a class.