This commit is contained in:
Penwy 2024-06-27 09:51:18 +10:00 committed by GitHub
commit 68d4e1c44e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -723,6 +723,8 @@ Property Modification Functions
:param val: The actual string value stored and will be returned by :c:func:`obs_data_get_string`
:returns: The index of the list item.
`Note` : If ``p`` is of type OBS_COMBO_TYPE_EDITABLE, :c:func:`obs_data_get_string` will return ``name`` instead of ``val``.
---------------------
.. function:: size_t obs_property_list_add_int(obs_property_t *p, const char *name, long long val)
@ -753,6 +755,8 @@ Property Modification Functions
:param name: Localized name shown to user
:param val: The actual string value stored and will be returned by :c:func:`obs_data_get_string`
`Note` : If ``p`` is of type OBS_COMBO_TYPE_EDITABLE, :c:func:`obs_data_get_string` will return ``name`` instead of ``val``.
---------------------
.. function:: void obs_property_list_insert_int(obs_property_t *p, size_t idx, const char *name, long long val)

View file

@ -188,6 +188,8 @@ Get Functions
.. function:: const char *obs_data_get_string(obs_data_t *data, const char *name)
`Note` : If the data object was generated from a OBS_COMBO_TYPE_EDITABLE property, the property's ``name`` will be returned instead of its ``val``.
---------------------
.. function:: long long obs_data_get_int(obs_data_t *data, const char *name)