blob: f69817619553feb229d9ed67f4f1d7392117a5c4 [file] [log] [blame]
// Copyright 2015 The Weave Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIBWEAVE_INCLUDE_WEAVE_EXPORT_H_
#define LIBWEAVE_INCLUDE_WEAVE_EXPORT_H_
#define LIBWEAVE_EXPORT __attribute__((__visibility__("default")))
#define LIBWEAVE_PRIVATE __attribute__((__visibility__("hidden")))
// TODO(avakulenko): Once all the sample clients are migrated to new APIs,
// mark the old one officially deprecated by uncomment the following attribute.
#define LIBWEAVE_DEPRECATED // __attribute__((deprecated))
#endif // LIBWEAVE_INCLUDE_WEAVE_EXPORT_H_