Raised This Month: $51 Target: $400
 12% 

SourceHook changes - testing needed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 05-13-2006 , 14:20   SourceHook changes - testing needed
Reply With Quote #1

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 )
__________________
hello, i am pm
PM is offline
TommyV
Member
Join Date: Nov 2005
Old 05-14-2006 , 10:15  
Reply With Quote #2

Works fine for me. Compiles with no new warnings and runs as it should.

I'm calling IVEngineServer::GetClientConVarValue(int, const char *) via SH_CALL, using MSVC 2003.
TommyV is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode