Hello people!
I've spent 5 hours fixing SH_CALL today (as you might have heard it was broken in many situations), and everything worked out as planned. I have rewritten shworker, it now uses a new syntax (much more ugly) and is much more powerful. This means that I also had to rewrite the template files (sourcehook.hxx and sh_memfuncinfo.hxx, as FastDelegate.hxx uses Don Clugston's "hopter"); but I've made sure (using WinMerge) that only sourcehook.h's SH_CALL section has changed in the generated file. My automatic tests pass on both MSVC 2003 and GCC (the references test I've added a week ago didn't pass with the old version of sourcehook.h).
So, if you use SH_CALL anywhere, I'd really like you to download the
new sourcehook.h (or you can just cvs update if if you've checked out the sourcemm or sourcehook dir), and test it with your plugin. You can safely keep your sourcemm binary.
What I'd like to know is:
Does it compile?
If not, what are the errors? Any new warnings?
If it does, does the produced binary run (correctly
)?
Thank you in advance!
(in case you're interested in the cause and the fix, read
this )
__________________