// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2019-2022 Second State INC

//===-- wasmedge/version.h - WasmEdge C API -------------------------------===//
//
// Part of the WasmEdge Project.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file contains the version definitions of the WasmEdge C API.
///
//===----------------------------------------------------------------------===//

#ifndef WASMEDGE_C_API_VERSION_H
#define WASMEDGE_C_API_VERSION_H

// WasmEdge version.
#define WASMEDGE_VERSION "${CPACK_PACKAGE_VERSION}"
#define WASMEDGE_VERSION_MAJOR ${WASMEDGE_VERSION_MAJOR}
#define WASMEDGE_VERSION_MINOR ${WASMEDGE_VERSION_MINOR}
#define WASMEDGE_VERSION_PATCH ${WASMEDGE_VERSION_PATCH}

#define WasmEdge_Plugin_CurrentAPIVersion ${WASMEDGE_API_VERSION}

#endif // WASMEDGE_C_API_VERSION_H
