blob: a5a093b9f1ccb63822a4b2c7c9bb026f88358281 [file] [log] [blame]
// Copyright 2017 The Chromium 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 QUICHE_QUIC_PLATFORM_API_QUIC_ESTIMATE_MEMORY_USAGE_H_
#define QUICHE_QUIC_PLATFORM_API_QUIC_ESTIMATE_MEMORY_USAGE_H_
#include <cstddef>
#include "quiche_platform_impl/quiche_estimate_memory_usage_impl.h"
namespace quic {
template <class T>
size_t QuicEstimateMemoryUsage(const T& object) {
return quiche::QuicheEstimateMemoryUsageImpl(object);
}
} // namespace quic
#endif // QUICHE_QUIC_PLATFORM_API_QUIC_ESTIMATE_MEMORY_USAGE_H_