forked from pebble/pebble-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPBDefines.h
39 lines (32 loc) · 810 Bytes
/
PBDefines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// PBDefines.h
// PebbleKit
//
// Created by Marcel Jackwerth on 14/09/15.
// Copyright (c) 2015 Pebble Technology. All rights reserved.
//
#ifndef PB_DEFINES_H
#define PB_DEFINES_H
#import <Foundation/Foundation.h>
#ifndef PB_EXTERN
# ifdef __cplusplus
# define PB_EXTERN extern "C" __attribute__((visibility ("default")))
# else
# define PB_EXTERN extern __attribute__((visibility ("default")))
# endif
#endif
#define PB_EXTERN_CLASS __attribute__((visibility("default")))
#if !__has_feature(nullability)
# define __nullable
# define __nonnull
# define __null_unspecified
#endif
#if !__has_feature(assume_nonnull)
# ifndef NS_ASSUME_NONNULL_BEGIN
# define NS_ASSUME_NONNULL_BEGIN
# endif
# ifndef NS_ASSUME_NONNULL_END
# define NS_ASSUME_NONNULL_END
# endif
#endif
#endif