mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 22:55:41 +00:00
Remove rdctype namespace. Rename rdctype::str -> rdcstr, rdcarray, etc
* Since these types are more prevalent than originally designed, it makes more sense to remove the namespace for ease of typing/naming. * Also add a specialised type 'bytebuf' for an array of bytes. * This makes mapping easier to SWIG since there's no special casing for namespaced arrays. Especially so for nested cases like rdctype::array<rdctype::str> -> rdcarray<rdcstr>
This commit is contained in:
@@ -193,7 +193,7 @@ void PersistantConfig::AddAndroidHosts()
|
||||
SetConfigSetting(lit("Android_AutoPushLayerToApp"),
|
||||
Android_AutoPushLayerToApp ? lit("1") : lit("0"));
|
||||
|
||||
rdctype::str androidHosts;
|
||||
rdcstr androidHosts;
|
||||
RENDERDOC_EnumerateAndroidDevices(&androidHosts);
|
||||
for(const QString &hostName :
|
||||
QString(androidHosts).split(QLatin1Char(','), QString::SkipEmptyParts))
|
||||
@@ -206,7 +206,7 @@ void PersistantConfig::AddAndroidHosts()
|
||||
host = new RemoteHost();
|
||||
|
||||
host->Hostname = hostName;
|
||||
rdctype::str friendly;
|
||||
rdcstr friendly;
|
||||
RENDERDOC_GetAndroidFriendlyName(hostName.toUtf8().data(), friendly);
|
||||
host->FriendlyName = friendly;
|
||||
// Just a command to display in the GUI and allow Launch() to be called.
|
||||
|
||||
Reference in New Issue
Block a user