On Wed, Oct 6, 2021 at 7:09 PM Zebediah Figura (she/her) < zfigura@codeweavers.com> wrote:
On 10/6/21 10:45, David K. wrote:
This trick only occurs once. Haven't seen this anywhere else in the code. Why this specific function?
Don't you people suppose other code might benefit from this?
It exists in plenty of other places. A simple grep for 'fixme_written' yields another result, and the more usual 'static (unsigned) int once' yields many.
Definitely would be great, at least for use with new code.
(Perhaps we should borrow vkd3d's FIXME_ONCE macro...)