pykd/pykd/pysymengine.h
SND\kernelnet_cp 5025a7c05b [0.3.x] added : getSourceFileFromSrcSrv ( load and return source file from source server by the specified offset )
[0.3.x] added : getSrcPath ( return current source server path )
[0.3.x] added : setSrcPath ( set source path )
[0.3.x] added : appendSrcPath ( append current source path )

git-svn-id: https://pykd.svn.codeplex.com/svn@90664 9b283d60-5439-405e-af05-b73fd8c4d996
2017-11-03 15:24:08 +04:00

59 lines
1012 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);
}
inline
std::wstring getSrcPath()
{
AutoRestorePyState pystate;
return kdlib::getSrcPath();
}
inline
void setSrcPath(const std::wstring &srcPath)
{
AutoRestorePyState pystate;
kdlib::setSrcPath(srcPath);
}
inline
void appendSrcPath(const std::wstring &srcPath)
{
AutoRestorePyState pystate;
kdlib::appendSrcPath(srcPath);
}
} // namespace pykd