RCTMacros.h 440 B

12345678910111213141516
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #define _CONCAT(A, B) A##B
  8. #define CONCAT(A, B) _CONCAT(A, B)
  9. #if !defined(PIC_MODIFIER)
  10. #define PIC_MODIFIER
  11. #endif
  12. #define SYMBOL_NAME(name) CONCAT(__USER_LABEL_PREFIX__, name)
  13. #define SYMBOL_NAME_PIC(name) CONCAT(SYMBOL_NAME(name), PIC_MODIFIER)