From c1d8c0f5ecb4fda11246c35823a1e2b5cc31da2b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 15 Jun 2019 20:48:55 -0400 Subject: [PATCH] Oops, forgot to add the consts to the documentation. --- doc/controls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/controls.md b/doc/controls.md index 6ca5f655..4d010740 100644 --- a/doc/controls.md +++ b/doc/controls.md @@ -42,7 +42,7 @@ Each method is named for the `uiControl` function that it implements. As such, d ### `uiRegisterControlType()` ```c -uint32_t uiRegisterControlType(const char *name, uiControlVtable *vtable, uiControlOSVtable *osVtable, size_t implDataSize); +uint32_t uiRegisterControlType(const char *name, const uiControlVtable *vtable, const uiControlOSVtable *osVtable, size_t implDataSize); ``` `uiRegisterControlType()` registers a new `uiControl` type with the given vtables and returns its ID as passed to `uiNewControl()`. `implDataSize` is the size of the implementation data struct that is created by `uiNewControl()`.