Fix build on Windows.

develop
Petr Mrázek 2011-04-24 03:00:23 +02:00
parent f481ee7b5d
commit 21ddc2c461
2 changed files with 7 additions and 1 deletions

@ -87,7 +87,7 @@ namespace
void readSTLVector(const uint32_t address, t_vecTriplet & triplet);
const std::string readSTLString (uint32_t offset);
size_t readSTLString (uint32_t offset, char * buffer, size_t bufcapacity);
void writeSTLString(const uint32_t address, const std::string writeString){};
size_t writeSTLString(const uint32_t address, const std::string writeString);
// get class name of an object with rtti/type info
std::string readClassName(uint32_t vptr);
@ -585,6 +585,11 @@ const string NormalProcess::readSTLString (uint32_t offset)
return stl.readSTLString(offset);
}
size_t NormalProcess::writeSTLString (uint32_t address, string str)
{
return stl.writeSTLString(address, str);
}
string NormalProcess::readClassName (uint32_t vptr)
{
return stl.readClassName(vptr);

@ -101,6 +101,7 @@ string MicrosoftSTL::readClassName (uint32_t vptr)
return raw;
}
// FIXME: really, fix this.
size_t MicrosoftSTL::writeSTLString(const uint32_t address, const std::string writeString)
{
return 0;