Skip to content

Commit

Permalink
Rename NSMethodSignature category ArgumentsFromData -> Godot
Browse files Browse the repository at this point in the history
  • Loading branch information
gilzoide committed Oct 12, 2023
1 parent d434140 commit 9843662
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/GDCallableBlock.mm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
#include "GDCallableBlock.hpp"

#include "NSMethodSignature+ArgumentsFromData.hpp"
#include "NSMethodSignature+Godot.hpp"

#include <objc/runtime.h>

Expand Down
1 change: 0 additions & 1 deletion src/GDObject.mm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/
#include "GDObject.hpp"

#import "NSMethodSignature+ArgumentsFromData.hpp"
#import "NSInvocation+Godot.hpp"
#import "objc_conversions.hpp"
#import "objc_marshalling.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Foundation/Foundation.h>
#include <godot_cpp/variant/variant.hpp>

using namespace godot;

@interface NSMethodSignature (ArgumentsFromData)
@interface NSMethodSignature (Godot)

@property(readonly) NSUInteger totalArgumentSize;
@property(readonly) String completeSignature;
Expand All @@ -36,4 +36,4 @@ using namespace godot;

@end

#endif // __NSMETHOD_SIGNATURE_ARGUMENTS_FROM_DATA_HPP__
#endif // __NSMETHOD_SIGNATURE_GODOT_HPP__
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/objc_invocation.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9843662

Please sign in to comment.