Oops, forgot to add the consts to the documentation.

This commit is contained in:
Pietro Gagliardi 2019-06-15 20:48:55 -04:00
parent b6a8d24c3e
commit c1d8c0f5ec
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Each method is named for the `uiControl` function that it implements. As such, d
### `uiRegisterControlType()` ### `uiRegisterControlType()`
```c ```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()`. `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()`.