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 committed 2017-11-03 16:04:59 +00:00
1 parent 5e59616a8c
commit e6c5c03896
84 files changed
+711 -679

No files matched your search

+2 -2
View File
@@ -347,7 +347,7 @@ void MainWindow::OnInjectTrigger(uint32_t PID, const QList<EnvironmentModificati
if(!PromptCloseLog())
return;
rdctype::array<EnvironmentModification> envList = env.toVector().toStdVector();
rdcarray<EnvironmentModification> envList = env.toVector().toStdVector();
LambdaThread *th = new LambdaThread([this, PID, envList, name, opts, callback]() {
QString logfile = m_Ctx.TempLogFilename(name);
@@ -1001,7 +1001,7 @@ void MainWindow::messageCheck()
if(m_Ctx.LogLoaded())
{
m_Ctx.Replay().AsyncInvoke([this](IReplayController *r) {
rdctype::array<DebugMessage> msgs = r->GetDebugMessages();
rdcarray<DebugMessage> msgs = r->GetDebugMessages();
bool disconnected = false;