Searched defs:ASIO_DEFINE_HANDLER_PTR (Results 1 - 2 of 2) sorted by relevance

/external/parameter-framework/asio/include/asio/detail/
H A Dhandler_alloc_helpers.hpp51 #define ASIO_DEFINE_HANDLER_PTR(op) struct ptr { Handler* h; void* v; op* p; ~ptr() { reset(); } void reset() { if (p) { p->~op(); p = 0; } if (v) { asio_handler_alloc_helpers::deallocate(v, sizeof(op), *h); v = 0; } } } /**/ macro
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dhandler_alloc_helpers.hpp51 #define ASIO_DEFINE_HANDLER_PTR(op) struct ptr { Handler* h; void* v; op* p; ~ptr() { reset(); } void reset() { if (p) { p->~op(); p = 0; } if (v) { asio_handler_alloc_helpers::deallocate(v, sizeof(op), *h); v = 0; } } } /**/ macro

Completed in 86 milliseconds