CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
Raii.h File Reference

Thin alias layer that re-exports cdc::core RAII wrappers in the cdc::plugin_manager namespace for source-compatibility. More...

#include "cdc_core/Raii.h"

Go to the source code of this file.

Classes

struct  cdc::plugin_manager::CapsFreeDeleter
 Deleter for buffers allocated via heap_caps_malloc. More...
struct  cdc::plugin_manager::CStdFreeDeleter
 Deleter for buffers allocated via malloc/realloc. More...

Namespaces

namespace  cdc
namespace  cdc::plugin_manager

Typedefs

template<typename T>
using cdc::plugin_manager::PsramUniquePtr = ::cdc::core::PsramUniquePtr<T>
template<typename T>
using cdc::plugin_manager::CStdUniquePtr = ::cdc::core::CStdUniquePtr<T>

Functions

template<typename T>
PsramUniquePtr< T > cdc::plugin_manager::psramAlloc (std::size_t count) noexcept

Detailed Description

Thin alias layer that re-exports cdc::core RAII wrappers in the cdc::plugin_manager namespace for source-compatibility.

The shared implementations live in cdc_core/Raii.h. New code should prefer the cdc::core:: types directly; this header keeps the plugin-system call sites unchanged.

Definition in file Raii.h.