Log lpstring_t contents.

This commit is contained in:
gibbed 2017-01-09 17:11:17 -06:00
parent ac7dce758b
commit d17d02f606
1 changed files with 6 additions and 0 deletions

View File

@ -372,6 +372,12 @@ inline void AppendParam(StringBuffer* string_buffer, lpdouble_t param) {
string_buffer->AppendFormat("(%G)", param.value());
}
}
inline void AppendParam(StringBuffer* string_buffer, lpstring_t param) {
string_buffer->AppendFormat("%.8X", param.guest_address());
if (param) {
string_buffer->AppendFormat("(%s)", param.value().c_str());
}
}
inline void AppendParam(StringBuffer* string_buffer,
pointer_t<X_OBJECT_ATTRIBUTES> record) {
string_buffer->AppendFormat("%.8X", record.guest_address());