Files
revng-revng/ptcinterface.h
T
2016-09-21 01:45:26 +02:00

25 lines
589 B
C++

#ifndef _PTCINTERFACE_H
#define _PTCINTERFACE_H
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// Standard includes
#include <memory>
// Local includes
#include "revamb.h"
#define USE_DYNAMIC_PTC
#include "ptc.h"
using PTCInstructionListDestructor =
GenericFunctor<decltype(&ptc_instruction_list_free),
&ptc_instruction_list_free>;
using PTCInstructionListPtr = std::unique_ptr<PTCInstructionList,
PTCInstructionListDestructor>;
extern PTCInterface ptc;
#endif // _PTCINTERFACE_H