Files
flipper/iOS/FlipperKit/SKMacros.h
Patrick Shyu 3c35d6d4cf rename FBMacros.h to FBDefines.h (unrevert)
Summary:
Another smaller diff was responsible for breaking the build... D14019510 would have been the fix, which is integrated into this diff anyway.

 ---
Renaming FBMacros.h to FBDefines.h for more standard naming (similar to say UIKit/UIKit.h or Foundation/Foundation.h).

```
Tools/fastmod/fastmod --accept-all '\bFBMacros.h' FBDefines.h ../xplat
```

drop-conflicts
bypass-lint
allow-large-files

Reviewed By: dinhviethoa

Differential Revision: D14019529

fbshipit-source-id: 940490a5ec72ccdeb819598f488dc22eae454a26
2019-02-10 09:36:40 -08:00

26 lines
557 B
Objective-C

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
#ifndef SKMACROS_H
#define SKMACROS_H
#import <FBDefines/FBDefines.h>
#ifdef __cplusplus
#define SK_EXTERN_C_BEGIN extern "C" {
#define SK_EXTERN_C_END }
#define SK_EXTERN_C extern "C"
#else
#define SK_EXTERN_C_BEGIN
#define SK_EXTERN_C_END
#define SK_EXTERN_C extern
#endif
#define SKLog(...) NSLog(__VA_ARGS__)
#define SKTrace(...) /*NSLog(__VA_ARGS__)*/
#endif