mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
25 lines
589 B
C++
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
|