Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScopedDisable.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock::MallocRedirect {
6
8public:
9 // static variables
10 // NOLINTBEGIN
11#ifdef LL_PLAT_C
12 MCNAPI static ::std::add_lvalue_reference_t<void (*)()> mDisableForCurrentThread();
13
14 MCNAPI static ::std::add_lvalue_reference_t<void (*)()> mEnableForCurrentThread();
15#endif
16 // NOLINTEND
17};
18
19} // namespace Bedrock::MallocRedirect
Definition ScopedDisable.h:7