[PATCH 1/2]vbscript: Implemented builtin function CInt

Zhan Jianyu nasa4836 at gmail.com
Fri May 17 09:53:21 CDT 2013


This patch is built based on Jaceks's newly-submitted patch:

    commit 48a862306288d69d3623d5ecdc0f5a5a40addafe
    ( vbscript: Round half to even in to_int)

Thanks, Jacek. :-)

With his patch, CInt could be implementd in a clean way, without
any introduced helper function.

This patch also add tests for any corner cases, and it has passed testbot's
testing.

---
 dlls/vbscript/global.c      |   14 ++++++++++++--
 dlls/vbscript/tests/api.vbs |   23 +++++++++++++++++++++++
 2 files changed, 35 insertions(+), 2 deletions(-)


--

Regards,
Zhan Jianyu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vbscript-Implement-builtin-CInt.patch
Type: application/octet-stream
Size: 3090 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130517/31811e98/attachment.obj>


More information about the wine-patches mailing list