diff --git a/gdnative-derive/src/lib.rs b/gdnative-derive/src/lib.rs index f0c3fad16..88f1f6b04 100644 --- a/gdnative-derive/src/lib.rs +++ b/gdnative-derive/src/lib.rs @@ -675,6 +675,8 @@ pub fn godot_wrap_method(input: TokenStream) -> TokenStream { /// use gdnative::prelude::*; /// /// #[derive(Debug, PartialEq, Clone, Copy, Export, ToVariant, FromVariant)] +/// #[variant(enum = "repr")] +/// #[repr(i32)] /// enum Dir { /// Up = 1, /// Down = -1,