You've already forked godot
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user