![]() |
Flutter Engine
The Flutter Engine
|
#include "src/base/SkArenaAlloc.h"
#include "src/base/SkUtils.h"
#include <cstring>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | SkRPCtxUtils |
Typedefs | |
template<typename T > | |
using | SkRPCtxUtils::UnpackedType = typename std::conditional< sizeof(T)<=sizeof(void *), T, const T & >::type |
Functions | |
template<typename T > | |
static void * | SkRPCtxUtils::Pack (const T &ctx, SkArenaAlloc *alloc) |
template<typename T > | |
static UnpackedType< T > | SkRPCtxUtils::Unpack (const T *ctx) |