rename FBMacros.h to FBDefines.h
Summary: 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: adamjernst Differential Revision: D14011897 fbshipit-source-id: f1dd7e686eef2cdb109e85c2db4a0f2ac3d0ba42
This commit is contained in:
committed by
Facebook Github Bot
parent
351ac37fab
commit
159061c284
@@ -1,27 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2004-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the LICENSE
|
||||
* file in the root directory of this source tree.
|
||||
/**
|
||||
* 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
|
||||
|
||||
#ifndef SKMACROS_H
|
||||
#define SKMACROS_H
|
||||
#import <FBDefines/FBDefines.h>
|
||||
|
||||
#import <FBDefines/FBMacros.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
|
||||
|
||||
#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__)*/
|
||||
#define SKLog(...) NSLog(__VA_ARGS__)
|
||||
#define SKTrace(...) /*NSLog(__VA_ARGS__)*/
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user