mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-18 07:52:32 +01:00
Scott Ehlert
d1e8ae40af
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.
Description
Metamod:Source - C++ Plugin Environment and Detour Library for the Source Engine http://www.metamodsource.net/
Languages
C++
58.7%
Pascal
34.8%
HTML
1.4%
C
1.4%
Python
1.3%
Other
2.4%