Plutonium framework API  0.3
Simple UI framework for libnx and SDL2
pu_Macros.hpp File Reference
#include <memory>
#include <switch.h>

Go to the source code of this file.

Macros

#define PU_SMART_CTOR(type)
 

Typedefs

using i32 = s32
 

Macro Definition Documentation

#define PU_SMART_CTOR (   type)
Value:
using Ref = std::shared_ptr<type>; \
template<typename ...Args> \
static Ref New(Args &&...CtorArgs) \
{ \
return std::move(std::make_shared<type>(std::forward<Args>(CtorArgs)...)); \
}

Typedef Documentation

using i32 = s32