/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #pragma once #include namespace OpenVulkano { template using Ptr = std::shared_ptr; template using Weak = std::weak_ptr; template using Unique = std::unique_ptr; template struct FreeDelete { void operator()(T* x) const { free(x); } }; template using UniqueMalloc = std::unique_ptr>; }