mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-02-02 17:21:06 +00:00
Add a convenience method to CustomClientInfo struct to set both name and value in one call.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@268 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
0ded3d718f
commit
3d4dc1f201
|
@ -71,6 +71,11 @@ struct CustomInfoEntry {
|
|||
wcscpy_s(value, kValueMaxLength, value_arg);
|
||||
}
|
||||
|
||||
void set(const wchar_t* name_arg, const wchar_t* value_arg) {
|
||||
set_name(name_arg);
|
||||
set_value(value_arg);
|
||||
}
|
||||
|
||||
wchar_t name[kNameMaxLength];
|
||||
wchar_t value[kValueMaxLength];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue