libweston: drop opaque struct wet_testsuite_data
Until now we had struct wet_testsuite_data as an opaque struct that should be defined by the testsuite of libweston users. Instead, keep the data as a void * and document that users are responsible for defining the data type. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
committed by
Pekka Paalanen
parent
32a5acde5b
commit
2d4dd70ff5
@@ -7334,9 +7334,9 @@ debug_scene_graph_cb(struct weston_log_subscription *sub, void *data)
|
||||
* 1. The struct weston_testsuite_quirks, which can be used by the tests to
|
||||
* change certain behavior of Weston when running these tests.
|
||||
*
|
||||
* 2. The struct wet_testsuite_data member, which can be used by the test suite
|
||||
* 2. The void *test_private_data member which can be used by the test suite
|
||||
* of projects that uses libweston in order to give arbitrary test data to the
|
||||
* compositor.
|
||||
* compositor. Its type should be defined by the test suite of the project.
|
||||
*
|
||||
* This function can be called at most once per compositor instance, just after
|
||||
* creating the weston_compositor object and never again. This happens because
|
||||
|
||||
Reference in New Issue
Block a user