1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

util: Add STR_IS_NULL_OR_EMPTY macro

Shamelessly copied from
https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/src/util.h#L13
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-02-18 09:23:39 +01:00
parent 5b171bf2c5
commit 53129e92af

View file

@ -28,6 +28,8 @@
G_BEGIN_DECLS
#define STR_IS_NULL_OR_EMPTY(x) ((x) == NULL || (x)[0] == '\0')
/*
* For defining simple interface functions
*/