mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-20 02:10:06 +01:00
17 lines
412 B
C
17 lines
412 B
C
#ifndef WLR_VERSION_H
|
|
#define WLR_VERSION_H
|
|
|
|
#mesondefine WLR_VERSION_STR
|
|
|
|
#mesondefine WLR_VERSION_MAJOR
|
|
#mesondefine WLR_VERSION_MINOR
|
|
#mesondefine WLR_VERSION_MICRO
|
|
|
|
#define WLR_VERSION_NUM ((WLR_VERSION_MAJOR << 16) | (WLR_VERSION_MINOR << 8) | WLR_VERSION_MICRO)
|
|
|
|
/* For runtime version detection */
|
|
int wlr_version_get_major(void);
|
|
int wlr_version_get_minor(void);
|
|
int wlr_version_get_micro(void);
|
|
|
|
#endif
|