gbm: Move getters to match order in header file (trivial)
[mesa.git] / src / gbm / gbm-symbols-check
1 #!/bin/bash
2
3 FUNCS=$(nm -D --defined-only ${1-.libs/libgbm.so} | grep -o "T .*" | cut -c 3- | while read func; do
4 ( grep -q "^$func$" || echo $func ) <<EOF
5 gbm_device_get_fd
6 gbm_device_get_backend_name
7 gbm_device_is_format_supported
8 gbm_device_destroy
9 gbm_create_device
10 gbm_bo_create
11 gbm_bo_import
12 gbm_bo_map
13 gbm_bo_unmap
14 gbm_bo_get_width
15 gbm_bo_get_height
16 gbm_bo_get_stride
17 gbm_bo_get_format
18 gbm_bo_get_device
19 gbm_bo_get_handle
20 gbm_bo_get_fd
21 gbm_bo_write
22 gbm_bo_set_user_data
23 gbm_bo_get_user_data
24 gbm_bo_destroy
25 gbm_surface_create
26 gbm_surface_needs_lock_front_buffer
27 gbm_surface_lock_front_buffer
28 gbm_surface_release_buffer
29 gbm_surface_has_free_buffers
30 gbm_surface_destroy
31 _fini
32 _init
33 EOF
34 done)
35
36 test ! -n "$FUNCS" || echo $FUNCS
37 test ! -n "$FUNCS"