From: Yong Bakos <[email protected]> This series adds documentation to wl_array and its methods.
There is one implementation change: defining an invalid pointer address, and setting the `data` pointer to the invalid pointer address after free, in wl_array_release. I did not set `size` and `alloc` to 0, in order to keep the change miniminal. (Should I?) Regards, yong Yong Bakos (4): util: Document wl_array wl_array: Set data to invalid address after free tests: Test wl_array_release array-test: Include wayland-util.h and simplify init test src/wayland-private.h | 3 +++ src/wayland-util.c | 1 + src/wayland-util.h | 75 +++++++++++++++++++++++++++++++++++++++++++++++---- tests/array-test.c | 27 +++++++++++-------- 4 files changed, 90 insertions(+), 16 deletions(-) -- 2.7.2 _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
