mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
Use protected default constructors/destructors to hide them from SWIG
This commit is contained in:
1 parent
694d7b6c7b
commit
2de280d494
2 files changed
+16
-6
No files matched your search
@@ -60,12 +60,6 @@ CONTAINER_TYPEMAPS(rdctype::array)
|
||||
%ignore rdctype::str::operator=;
|
||||
%ignore rdctype::str::operator const char *;
|
||||
|
||||
// SWIG generates destructor wrappers for these interfaces that we don't want
|
||||
%ignore IReplayOutput::~IReplayOutput();
|
||||
%ignore IReplayRenderer::~IReplayRenderer();
|
||||
%ignore ITargetControl::~ITargetControl();
|
||||
%ignore IRemoteServer::~IRemoteServer();
|
||||
|
||||
// add __str__ functions
|
||||
%feature("python:tp_str") ResourceId "resid_str";
|
||||
|
||||
|
||||
Reference in new issue
Block a user