react-native/React/Profiler/RCTMacros.h

19 lines
561 B
C

/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#define _CONCAT(A, B) A##B
#define CONCAT(A, B) _CONCAT(A, B)
#if !defined(PIC_MODIFIER)
#define PIC_MODIFIER
#endif
#define SYMBOL_NAME(name) CONCAT(__USER_LABEL_PREFIX__, name)
#define SYMBOL_NAME_PIC(name) CONCAT(SYMBOL_NAME(name), PIC_MODIFIER)