From 262a9d98bd468801c56134eaa7e3f010a268ea18 Mon Sep 17 00:00:00 2001 From: Jan Haller Date: Thu, 25 Aug 2022 22:21:33 +0200 Subject: [PATCH] Rename #[godot] to #[method] --- examples/dodge-the-creeps/src/hud.rs | 8 ++++---- examples/dodge-the-creeps/src/main_scene.rs | 10 +++++----- examples/dodge-the-creeps/src/mob.rs | 6 +++--- examples/dodge-the-creeps/src/player.rs | 8 ++++---- examples/hello-world/src/lib.rs | 2 +- examples/native-plugin/src/lib.rs | 8 ++++---- examples/resource/src/lib.rs | 2 +- examples/rpc/src/client.rs | 6 +++--- examples/rpc/src/server.rs | 4 ++-- examples/scene-create/src/lib.rs | 6 +++--- examples/signals/src/lib.rs | 8 ++++---- examples/spinning-cube/src/lib.rs | 4 ++-- gdnative-core/src/export/macros.rs | 2 +- gdnative-derive/src/lib.rs | 14 +++++++------- gdnative-derive/src/methods.rs | 6 +++--- gdnative/tests/ui/derive_pass.rs | 2 +- test/src/test_derive.rs | 10 +++++----- 17 files changed, 53 insertions(+), 53 deletions(-) diff --git a/examples/dodge-the-creeps/src/hud.rs b/examples/dodge-the-creeps/src/hud.rs index b08957bd2..08fd96aab 100644 --- a/examples/dodge-the-creeps/src/hud.rs +++ b/examples/dodge-the-creeps/src/hud.rs @@ -16,7 +16,7 @@ impl Hud { Hud } - #[godot] + #[method] pub fn show_message(&self, #[base] owner: &CanvasLayer, text: String) { let message_label = unsafe { owner.get_node_as::