core: rename gpiod_version_string() to gpiod_api_version()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sun, 11 Dec 2022 22:25:05 +0000 (23:25 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 12 Dec 2022 08:50:47 +0000 (09:50 +0100)
commit8da5c77a54f4d8fd46e03d7b60c6892771d359b6
tree33044600f721e248778ffbdd78eec8fcffa2215d
parent9e69d7552cf2be6ca560bf71e8b2c8f97a639f16
core: rename gpiod_version_string() to gpiod_api_version()

Instead of telling the user what type this function returns (they can
check it by looking at the prototype), tell them what the return value
actually represents.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/cxx/gpiodcxx/misc.hpp
bindings/cxx/misc.cpp
bindings/cxx/tests/tests-misc.cpp
bindings/python/gpiod/ext/module.c
bindings/rust/libgpiod/src/lib.rs
include/gpiod.h
lib/misc.c
tests/tests-misc.c
tools/tools-common.c