Convert ToStr, Serialise, and TypeName to use literal strings

This commit is contained in:
baldurk committed 2019-05-15 14:12:17 +01:00
1 parent c8a518f05c
commit 699f8753af
84 files changed
+1215 -1186

No files matched your search

@@ -590,9 +590,8 @@ bool PythonContext::LoadExtension(ICaptureContext &ctx, const rdcstr &extension)
if(register_func)
{
QByteArray baseTypeName = TypeName<ICaptureContext>();
baseTypeName += " *";
PyObject *pyctx = PassObjectToPython(baseTypeName.data(), &ctx);
PyObject *pyctx =
PassObjectToPython((rdcstr(TypeName<ICaptureContext>()) + " *").c_str(), &ctx);
PyObject *retval = NULL;
if(pyctx)