Fix docstring/function signature errors

This commit is contained in:
baldurk
2026-09-12 10:27:55 +01:00
parent a3fafbc29a
commit 0628f10b9a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -682,7 +682,7 @@ added anywhere.
:param QWidget layout: The layout widget.
:param int spacing: The spacing in pixels to use between items
)");
virtual void SetLayoutSpacing(QWidget *layout, int spacing) = 0;
virtual void SetLayoutSpacing(QWidget *layout, int32_t spacing) = 0;
DOCUMENT(R"(Set the external margins on the outside of all of the items in the layout. If
the widget is not a layout (either grid or horizontal/vertical) this call will have no effect.
@@ -691,7 +691,7 @@ the widget is not a layout (either grid or horizontal/vertical) this call will h
:param int horizontal: The horizontal margins on the left and right.
:param int vertical: The vertical margins on the top and bottom.
)");
virtual void SetLayoutMargins(QWidget *layout, int horizontal, int vertical) = 0;
virtual void SetLayoutMargins(QWidget *layout, int32_t horizontal, int32_t vertical) = 0;
// widget manipulation
+2 -2
View File
@@ -2042,8 +2042,8 @@ This function will block until a remote connection tells the server to shut down
Callback function signature must match :func:`PreviewWindowCallback`.
)");
extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_BecomeRemoteServer(
const rdcstr &listenhost, uint16_t port, RENDERDOC_KillCallback killReplay,
RENDERDOC_PreviewWindowCallback previewWindow);
const rdcstr &listenhost, uint16_t port, RENDERDOC_KillCallback killReplay = NULL,
RENDERDOC_PreviewWindowCallback previewWindow = NULL);
//////////////////////////////////////////////////////////////////////////
// Injection/execution capture functions.