polybar-dwm/include/utils/memory.hpp

13 lines
165 B
C++
Raw Normal View History

#pragma once
2016-05-19 16:41:06 +02:00
2017-01-11 05:10:51 +01:00
#include <cstdlib>
2016-06-15 05:32:35 +02:00
#include "common.hpp"
2016-11-19 06:22:44 +01:00
POLYBAR_NS
2016-05-19 16:41:06 +02:00
2022-03-06 16:40:42 +01:00
template <typename T>
using malloc_unique_ptr = unique_ptr<T, decltype(free)*>;
2016-06-15 05:32:35 +02:00
2016-11-19 06:22:44 +01:00
POLYBAR_NS_END