mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-01 03:38:55 +00:00
no #optional_allocator_error
Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
@@ -162,7 +162,7 @@ If thread is nil the procedure will get the name of the calling thread.
|
||||
|
||||
allocates memory for the returned string using provided allocator.
|
||||
*/
|
||||
get_name :: proc(thread: ^Thread, allocator := context.allocator, loc := #caller_location) -> (string, runtime.Allocator_Error) #optional_allocator_error {
|
||||
get_name :: proc(thread: ^Thread, allocator := context.allocator, loc := #caller_location) -> (string, runtime.Allocator_Error) {
|
||||
return _get_name(thread, allocator, loc)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user