浏览代码

docs: Fix obs_sceneitem_get_group signature

(cherry picked from commit df990192b2582f9b254837adb3c4aed4d61b479d)
Lev Leontev 2 年之前
父节点
当前提交
8eba188708
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/sphinx/reference-scenes.rst

+ 2 - 1
docs/sphinx/reference-scenes.rst

@@ -725,10 +725,11 @@ Scene Item Group Functions
 
 ---------------------
 
-.. function:: obs_sceneitem_t *obs_sceneitem_get_group(obs_sceneitem_t *item)
+.. function:: obs_sceneitem_t *obs_sceneitem_get_group(obs_scene_t *scene, obs_sceneitem_t *item)
 
    Returns the parent group of a scene item.
 
+   :param scene: Scene to find the group within
    :param item: Scene item to get the group of
    :return:     The parent group of the scene item, or *NULL* if not in
                 a group