polybar-dwm/include/utils/memory.hpp
2022-03-06 18:28:26 +01:00

13 lines
165 B
C++

#pragma once
#include <cstdlib>
#include "common.hpp"
POLYBAR_NS
template <typename T>
using malloc_unique_ptr = unique_ptr<T, decltype(free)*>;
POLYBAR_NS_END