rewrote Win32::API::Callback
[email protected] (bulk 88)
| Newsgroups | perl.libwin32 |
|---|---|
| Message-ID | <[email protected]> |
I totally rewrote Win32::API::Callback. Its 95% (or 99%) Perl now. 1 old XSUB saved (every other one removed), 1 new XSUB, and 1 new C func is all the code in the XS file now and api.h isn't needed anymore for Win32::API::Callback. The XS file has 1 screenful of code now. There is no machine or asm code in the XS file for portability. No subs removed from Callback.pm I think. A couple new subs in Callback.pm. No public API changes. The rewrite allows a x64 version to be made much more easily now (I dont think I will try it tho). Original tests all pass now except for the flawed ctrl-c test (jim shaw.t how works perfectly after its use of non-public API of Win32::API was removed). Here is the problem. I (in hindsight wasted time) fixed the old "regexs in C without regexes copy pasting random machine code nightmare" a couple times already to make it uncrashable for me. So the old code "works" now but I've tossed it. I still have a copy of the old fixed Win32::API::Callback before I rewrote it. What should I do with the old Win32::API::Callback XS code? Anyone want it? Put it a separate folder and change the makefile.pl to makefile.pl.old so EUMM doesn't find it?