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