mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix to simple a += b overload fallback. Renaming and reordering in the stdlib.
This commit is contained in:
@@ -67,6 +67,17 @@ struct Darwin_segment_command_64
|
||||
uint flags; /* flags */
|
||||
}
|
||||
|
||||
struct Darwin_mach_timebase_info
|
||||
{
|
||||
uint numer;
|
||||
uint denom;
|
||||
}
|
||||
|
||||
alias Darwin_mach_timebase_info_t = Darwin_mach_timebase_info;
|
||||
alias Darwin_mach_timebase_info_data_t = Darwin_mach_timebase_info;
|
||||
|
||||
extern fn void mach_timebase_info(Darwin_mach_timebase_info_data_t* timebase);
|
||||
extern fn ulong mach_absolute_time();
|
||||
|
||||
fn String? executable_path(Allocator allocator)
|
||||
{
|
||||
@@ -155,3 +166,4 @@ fn BacktraceList? symbolize_backtrace(Allocator allocator, void*[] backtrace)
|
||||
};
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
2
lib/std/os/macos/general.c3
Normal file
2
lib/std/os/macos/general.c3
Normal file
@@ -0,0 +1,2 @@
|
||||
module std::os::darwin @if(env::DARWIN);
|
||||
|
||||
Reference in New Issue
Block a user