1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

iOS: Remove (seemingly?) unneded extern C blocks that break build

This commit is contained in:
Rémi Verschelde
2024-11-06 23:29:00 +01:00
parent 4da42804b4
commit 6c3befc70b
3 changed files with 2 additions and 23 deletions

View File

@@ -32,20 +32,9 @@
#include "game_center.h"
#ifdef __IPHONE_9_0
#import <GameKit/GameKit.h>
extern "C" {
#else
extern "C" {
#import <GameKit/GameKit.h>
#endif
#import "app_delegate.h"
};
#import <GameKit/GameKit.h>
GameCenter *GameCenter::instance = NULL;

View File

@@ -32,18 +32,10 @@
#include "icloud.h"
#ifndef __IPHONE_9_0
extern "C" {
#endif
#import "app_delegate.h"
#import <Foundation/Foundation.h>
#ifndef __IPHONE_9_0
};
#endif
ICloud *ICloud::instance = NULL;
void ICloud::_bind_methods() {

View File

@@ -32,10 +32,8 @@
#include "in_app_store.h"
extern "C" {
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
};
bool auto_finish_transactions = true;
NSMutableDictionary *pending_transactions = [NSMutableDictionary dictionary];