mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-09 11:28:33 +00:00
Misc comments
This commit is contained in:
parent
b329d652ac
commit
a884302c14
@ -198,7 +198,7 @@ namespace SourceHook
|
|||||||
// The following two flags are only relevant for byval return types.
|
// The following two flags are only relevant for byval return types.
|
||||||
// SH tries to auto-detect these
|
// SH tries to auto-detect these
|
||||||
// If you want to override SH's auto-detection, pass them in yourself
|
// If you want to override SH's auto-detection, pass them in yourself
|
||||||
PassFlag_RetMem = (1<<6), /**< Object is returned in memory (through hidden first param */
|
PassFlag_RetMem = (1<<6), /**< Object is returned in memory (through hidden first param) */
|
||||||
PassFlag_RetReg = (1<<7) /**< Object is returned in EAX(:EDX)/RAX(x86_64) */
|
PassFlag_RetReg = (1<<7) /**< Object is returned in EAX(:EDX)/RAX(x86_64) */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
// https://defuse.ca/online-x86-assembler.htm
|
// https://defuse.ca/online-x86-assembler.htm
|
||||||
// https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention
|
// https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention
|
||||||
// https://refspecs.linuxbase.orgz/elf/x86_64-abi-0.99.pdf
|
// https://refspecs.linuxbase.orgz/elf/x86_64-abi-0.99.pdf
|
||||||
|
// SystemV AMD64 https://gitlab.com/x86-psABIs/x86-64-ABI/-/jobs/artifacts/master/raw/x86-64-ABI/abi.pdf?job=build
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user