core/sourcehook/test/generate.bat
| author |
Scott Ehlert <ds@alliedmods.net> |
|
Tue Nov 24 07:33:52 2009 -0600 (2009-11-24) |
| changeset 685 |
522727461c0d |
| parent 539 |
db914129ae01
|
| permissions |
-rw-r--r-- |
Fixed crashes in code generated by SourceHook's HookManGen on Mac OS X (bug 3514, r=dvander).
This fixes two problems:
1) On OS X structures/objects with sizes of 1, 2, 4, or 8 are returned from functions in registers, not memory addresses.
2) A function returning anything which was 8 bytes in size was crashing. This problem affected all compilers/operating systems.