[+] AuSharedPointerFromShared

This commit is contained in:
Reece Wilson 2024-03-06 20:44:02 +00:00
parent e471890c0e
commit 46ae9729df

View File

@ -266,6 +266,10 @@ struct AuStringOwnedException : AuStringException
#define AuSharedPointerFromThis(pPtr) (AuSPtr<AuRemoveReference_t<decltype(*pPtr)>>(AuSharedFromThis(), pPtr)) #define AuSharedPointerFromThis(pPtr) (AuSPtr<AuRemoveReference_t<decltype(*pPtr)>>(AuSharedFromThis(), pPtr))
#endif #endif
#if !defined(AuSharedPointerFromShared)
#define AuSharedPointerFromShared(pPtr, pParentShared) (AuSPtr<AuRemoveReference_t<decltype(*pPtr)>>(pParentShared, pPtr))
#endif
#define AU_EMIT_FIRST_COMMA_FIRST(n)n #define AU_EMIT_FIRST_COMMA_FIRST(n)n
#define AU_EMIT_FIRST_COMMA_OTHERS(n),n #define AU_EMIT_FIRST_COMMA_OTHERS(n),n