#pragma once // // This file is distributed under the MIT License. See LICENSE.md for details. // #include #include #define USE_DYNAMIC_PTC #include "ptc.h" template using PTCDestructorWrapper = std::integral_constant; inline void ptcInstructionListDestructor(PTCInstructionList *This) { ptc_instruction_list_free(This); delete This; } using PTCDestructor = PTCDestructorWrapper<&ptcInstructionListDestructor>; using PTCInstructionListPtr = std::unique_ptr; // NOLINTNEXTLINE extern PTCInterface ptc;