1*4f2df630SAndroid Build Coastguard Worker // Copyright 2015 The ChromiumOS Authors 2*4f2df630SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 3*4f2df630SAndroid Build Coastguard Worker // found in the LICENSE file. 4*4f2df630SAndroid Build Coastguard Worker 5*4f2df630SAndroid Build Coastguard Worker #ifndef TRUNKS_TRUNKS_EXPORT_H_ 6*4f2df630SAndroid Build Coastguard Worker #define TRUNKS_TRUNKS_EXPORT_H_ 7*4f2df630SAndroid Build Coastguard Worker 8*4f2df630SAndroid Build Coastguard Worker // Use this for any class or function that needs to be exported from libtrunks. 9*4f2df630SAndroid Build Coastguard Worker // E.g. TRUNKS_EXPORT void foo(); 10*4f2df630SAndroid Build Coastguard Worker #define TRUNKS_EXPORT __attribute__((__visibility__("default"))) 11*4f2df630SAndroid Build Coastguard Worker 12*4f2df630SAndroid Build Coastguard Worker #endif // TRUNKS_TRUNKS_EXPORT_H_ 13