mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
38 lines
638 B
C++
38 lines
638 B
C++
#pragma once
|
|
|
|
#include <kdlib/symengine.h>
|
|
|
|
#include "pythreadstate.h"
|
|
|
|
namespace pykd {
|
|
|
|
inline
|
|
void setSymSrvDir(const std::wstring &symSrvDirectory)
|
|
{
|
|
AutoRestorePyState pystate;
|
|
kdlib::setSymSrvDir(symSrvDirectory);
|
|
}
|
|
|
|
inline
|
|
std::wstring getSymbolPath()
|
|
{
|
|
AutoRestorePyState pystate;
|
|
return kdlib::getSymbolPath();
|
|
}
|
|
|
|
inline
|
|
void setSymbolPath(const std::wstring &symPath)
|
|
{
|
|
AutoRestorePyState pystate;
|
|
kdlib::setSymbolPath(symPath);
|
|
}
|
|
|
|
inline
|
|
void appendSymbolPath(const std::wstring &symPath)
|
|
{
|
|
AutoRestorePyState pystate;
|
|
kdlib::appendSymbolPath(symPath);
|
|
}
|
|
|
|
} // namespace pykd
|