OpenShot Library | libopenshot  0.5.0
MemoryTrim.h
Go to the documentation of this file.
1 
8 // Copyright (c) 2008-2025 OpenShot Studios, LLC
9 //
10 // SPDX-License-Identifier: LGPL-3.0-or-later
11 
12 #pragma once
13 
14 namespace openshot {
15 
28 bool TrimMemoryToOS(bool force = false) noexcept;
29 
30 } // namespace openshot
openshot
This namespace is the default namespace for all code in the openshot library.
Definition: Compressor.h:28
openshot::TrimMemoryToOS
bool TrimMemoryToOS(bool force) noexcept
Attempt to return unused heap memory to the operating system.
Definition: MemoryTrim.cpp:40