From 9843662c9f9b946c80a1f3769c9c87ad3b385942 Mon Sep 17 00:00:00 2001 From: gilzoide Date: Thu, 12 Oct 2023 11:31:40 -0300 Subject: [PATCH] Rename NSMethodSignature category ArgumentsFromData -> Godot --- src/GDCallableBlock.mm | 2 +- src/GDObject.mm | 1 - ...+ArgumentsFromData.hpp => NSMethodSignature+Godot.hpp} | 8 ++++---- ...re+ArgumentsFromData.mm => NSMethodSignature+Godot.mm} | 4 ++-- src/objc_invocation.mm | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) rename src/{NSMethodSignature+ArgumentsFromData.hpp => NSMethodSignature+Godot.hpp} (86%) rename src/{NSMethodSignature+ArgumentsFromData.mm => NSMethodSignature+Godot.mm} (95%) diff --git a/src/GDCallableBlock.mm b/src/GDCallableBlock.mm index fbf0145..cff59f0 100644 --- a/src/GDCallableBlock.mm +++ b/src/GDCallableBlock.mm @@ -21,7 +21,7 @@ */ #include "GDCallableBlock.hpp" -#include "NSMethodSignature+ArgumentsFromData.hpp" +#include "NSMethodSignature+Godot.hpp" #include diff --git a/src/GDObject.mm b/src/GDObject.mm index c0e94b9..bddc3f8 100644 --- a/src/GDObject.mm +++ b/src/GDObject.mm @@ -21,7 +21,6 @@ */ #include "GDObject.hpp" -#import "NSMethodSignature+ArgumentsFromData.hpp" #import "NSInvocation+Godot.hpp" #import "objc_conversions.hpp" #import "objc_marshalling.hpp" diff --git a/src/NSMethodSignature+ArgumentsFromData.hpp b/src/NSMethodSignature+Godot.hpp similarity index 86% rename from src/NSMethodSignature+ArgumentsFromData.hpp rename to src/NSMethodSignature+Godot.hpp index 7e71406..55e64af 100644 --- a/src/NSMethodSignature+ArgumentsFromData.hpp +++ b/src/NSMethodSignature+Godot.hpp @@ -19,15 +19,15 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __NSMETHOD_SIGNATURE_ARGUMENTS_FROM_DATA_HPP__ -#define __NSMETHOD_SIGNATURE_ARGUMENTS_FROM_DATA_HPP__ +#ifndef __NSMETHOD_SIGNATURE_GODOT_HPP__ +#define __NSMETHOD_SIGNATURE_GODOT_HPP__ #include #include using namespace godot; -@interface NSMethodSignature (ArgumentsFromData) +@interface NSMethodSignature (Godot) @property(readonly) NSUInteger totalArgumentSize; @property(readonly) String completeSignature; @@ -36,4 +36,4 @@ using namespace godot; @end -#endif // __NSMETHOD_SIGNATURE_ARGUMENTS_FROM_DATA_HPP__ +#endif // __NSMETHOD_SIGNATURE_GODOT_HPP__ diff --git a/src/NSMethodSignature+ArgumentsFromData.mm b/src/NSMethodSignature+Godot.mm similarity index 95% rename from src/NSMethodSignature+ArgumentsFromData.mm rename to src/NSMethodSignature+Godot.mm index 4266c3f..6048c9d 100644 --- a/src/NSMethodSignature+ArgumentsFromData.mm +++ b/src/NSMethodSignature+Godot.mm @@ -19,13 +19,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#import "NSMethodSignature+ArgumentsFromData.hpp" +#import "NSMethodSignature+Godot.hpp" #include "objc_marshalling.hpp" using namespace objcgdextension; -@implementation NSMethodSignature (ArgumentsFromData) +@implementation NSMethodSignature (Godot) - (NSUInteger)totalArgumentSize { NSUInteger totalSize = 0; diff --git a/src/objc_invocation.mm b/src/objc_invocation.mm index 3dec381..1a647e7 100644 --- a/src/objc_invocation.mm +++ b/src/objc_invocation.mm @@ -21,7 +21,7 @@ */ #include "objc_invocation.hpp" -#include "NSMethodSignature+ArgumentsFromData.hpp" +#include "NSMethodSignature+Godot.hpp" #include "ObjectiveCClass.hpp" #include "ObjectiveCObject.hpp" #include "objc_conversions.hpp"