no #optional_allocator_error

Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
WP. Yingamphol
2025-07-15 09:28:38 +07:00
committed by GitHub
parent d875d2d445
commit 02111e7515

View File

@@ -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)
}