mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] Fix comment
This commit is contained in:
committed by
LeaNumworks
parent
0f61b2ccf3
commit
4cd0d20585
@@ -5,10 +5,12 @@ extern "C" {
|
||||
// define in assembly code
|
||||
// Force the name as archs (linux/macos) don't mangle C names the same way
|
||||
extern uintptr_t collect_registers(uintptr_t * regs) asm ("_collect_registers");
|
||||
|
||||
}
|
||||
namespace Ion {
|
||||
|
||||
// Wrapper to avoid
|
||||
// Wrapper to avoid handling c++ name mangling when writing assembly code
|
||||
|
||||
uintptr_t collectRegisters(jmp_buf buf) {
|
||||
uintptr_t * regs = (uintptr_t *)buf;
|
||||
return collect_registers(regs);
|
||||
|
||||
Reference in New Issue
Block a user