[ADG] New convenient API to check for empty strings
commit509f8f472aac351129f7f556e42562545786734c
authorNicola Fontana <ntd@entidi.it>
Sun, 25 Oct 2009 11:41:06 +0000 (25 12:41 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 25 Oct 2009 11:41:06 +0000 (25 12:41 +0100)
tree88a9e09ec23e6210c7d5a8ea6b35d0ce33df2ef7
parent2baa878f1b571d5666e7ffc50dbac241c72083e1
[ADG] New convenient API to check for empty strings

Implemented adg_is_empty() that returns TRUE if the argument is NULL or
its first char is the text terminator.
adg/adg-toy-text.c
adg/adg-util.c
adg/adg-util.h