2015-10-27 19:59:27 +00:00
|
|
|
/**
|
|
|
|
* 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)
|
|
|
|
|
2016-12-08 22:54:53 +00:00
|
|
|
#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)
|