<div dir="ltr">Wow, that was fast :O<div>Thank you!</div><div><br></div><div>-Jonas</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-19 17:14 GMT+02:00 Ryan C. Gordon <span dir="ltr"><<a href="mailto:icculus@icculus.org" target="_blank">icculus@icculus.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a question regarding PHYSFS_enumerate, or rather the callback signature. How about turning that callback return value into an enum with names such as "PHYSFS_CONTINUE/STOP/ERROR"?<br>
</blockquote>
<br></span>
Yeah, that's a good idea. I think it was sheer laziness on my part that prevented that.<br>
<br>
I've changed this here:<br>
<a href="https://hg.icculus.org/icculus/physfs/rev/97d3641bfba3" rel="noreferrer" target="_blank">https://hg.icculus.org/icculus<wbr>/physfs/rev/97d3641bfba3</a><br>
<br>
Now returns a PHYSFS_EnumerateCallbackResult instead of an int, which is either PHYSFS_ENUM_ERROR, PHYSFS_ENUM_STOP, or PHYSFS_ENUM_OK, but otherwise works as before.<span class="HOEnZb"><font color="#888888"><br>
<br>
--ryan.<br>
<br>
</font></span></blockquote></div><br></div>