<p>Hi guys and gals,</p>
<pre><code>#define EMPTY_STR(str) (!str || !*str)</code></pre>
<p>The above macro is defined in <code>include/vlc_common.h</code>, and it is used in several places throughout the codebase; though we have both old and new code that does not make use of the macro (in places where it could).</p>
<ul>
<li>What is our current position of such helper-macros?</li>
</ul>
<p><code>EMPTY_STR</code> was introduced by d3217fc7 in 2006-10-23, as such it has a few years on its back;</p>
<ul>
<li><p>Is it to be viewed as a still up-to-date helper (that can/should be used in places where it is applicable), or is it a legacy tool that should be avoided when writing new code?</p></li>
<li><p>If it shall not be used for future implementations, is it then also a valid stand-point to mark it as <em>deprecated</em> and remove usage from legacy code?</p></li>
</ul>
<p>Best Regards,<br />
Filip Roséen</p>