mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 14:45:53 +00:00
Clean up docstrings in python interfaces to be strictly typed/formatted
* Also added a script that can run as part of CI to verify that the docstring matches, by generating a regex from the docstring documented parameter types and return type and making sure we find a match within the C headers. This ensures all parameters are documented with the right types, no extra parameters are documented, and the return type is correct. * The script also checks proper scoping so that if qrenderdoc docstrings mention a renderdoc type, they need to scope it properly.
This commit is contained in:
@@ -3916,7 +3916,7 @@ void ShaderViewer::SetCurrentStep(uint32_t step)
|
||||
updateDebugState();
|
||||
}
|
||||
|
||||
void ShaderViewer::ToggleBreakpoint(int instruction)
|
||||
void ShaderViewer::ToggleBreakpoint(int32_t instruction)
|
||||
{
|
||||
if(!m_Trace || m_States.empty())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user