I was on my phone and it replied to the wrong email (personal instead of mailing list), so I'll take this chance to expand the reply adding a little more detail.
The code appears to work as far as I can tell, but I need to check the existing tests for it, and possibly add new ones. Then I think it should be ok to "port" it over to wine (by which I mean ensure the code works with wine and still passes all the tests there). Although I have no idea how to add a new library dependency on the wine side, so in that case I'll need someone to help ;P