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:
baldurk
2017-11-03 16:04:59 +00:00
parent 5e59616a8c
commit e6c5c03896
84 changed files with 711 additions and 679 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ int main(int argc, char *argv[])
#if defined(RENDERDOC_PLATFORM_LINUX)
env.xlibDisplay = QX11Info::display();
#endif
RENDERDOC_InitGlobalEnv(env, rdctype::array<rdctype::str>());
RENDERDOC_InitGlobalEnv(env, rdcarray<rdcstr>());
}
{