mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-19 09:32:52 +00:00
AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*)
Use this instead of uintptr_t throughout the codebase. This makes it possible to pass a FlatPtr to something that has u32 and u64 overloads.
This commit is contained in:
parent
b98d8ad5b0
commit
b1058b33fb
Notes:
sideshowbarker
2024-07-19 08:50:35 +09:00
Author: https://github.com/awesomekling
Commit: b1058b33fb
36 changed files with 164 additions and 161 deletions
|
@ -97,7 +97,7 @@ public:
|
|||
const Process& process() const { return m_process; }
|
||||
|
||||
String backtrace(ProcessInspectionHandle&) const;
|
||||
Vector<uintptr_t> raw_backtrace(uintptr_t ebp) const;
|
||||
Vector<FlatPtr> raw_backtrace(FlatPtr ebp) const;
|
||||
|
||||
const String& name() const { return m_name; }
|
||||
void set_name(StringView s) { m_name = s; }
|
||||
|
@ -360,7 +360,7 @@ public:
|
|||
FPUState& fpu_state() { return *m_fpu_state; }
|
||||
|
||||
void set_default_signal_dispositions();
|
||||
void push_value_on_stack(uintptr_t);
|
||||
void push_value_on_stack(FlatPtr);
|
||||
|
||||
u32 make_userspace_stack_for_main_thread(Vector<String> arguments, Vector<String> environment);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue