1*6777b538SAndroid Build Coastguard Worker // Copyright 2023 The Chromium Authors 2*6777b538SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 3*6777b538SAndroid Build Coastguard Worker // found in the LICENSE file. 4*6777b538SAndroid Build Coastguard Worker 5*6777b538SAndroid Build Coastguard Worker #ifndef BASE_MACROS_CONCAT_H_ 6*6777b538SAndroid Build Coastguard Worker #define BASE_MACROS_CONCAT_H_ 7*6777b538SAndroid Build Coastguard Worker 8*6777b538SAndroid Build Coastguard Worker // A macro that expands to the concatenation of its arguments. If the arguments 9*6777b538SAndroid Build Coastguard Worker // are themselves macros, they are first expanded (due to the indirection 10*6777b538SAndroid Build Coastguard Worker // through a second macro). This can be used to construct tokens. 11*6777b538SAndroid Build Coastguard Worker #define BASE_CONCAT(a, b) BASE_INTERNAL_CONCAT(a, b) 12*6777b538SAndroid Build Coastguard Worker 13*6777b538SAndroid Build Coastguard Worker // Implementation details: do not use directly. 14*6777b538SAndroid Build Coastguard Worker #define BASE_INTERNAL_CONCAT(a, b) a##b 15*6777b538SAndroid Build Coastguard Worker 16*6777b538SAndroid Build Coastguard Worker #endif // BASE_MACROS_CONCAT_H_ 17