Removing unused function get_token_array_from_buffer_no_wait

- I added this previously, and the need for it has disappeared
This commit is contained in:
Peter Slattery 2025-07-16 19:41:03 -07:00
parent a34a24f4e7
commit a072229d20
1 changed files with 0 additions and 15 deletions

View File

@ -61,21 +61,6 @@ get_token_array_from_buffer(Application_Links *app, Buffer_ID buffer){
return(result); return(result);
} }
function Token_Array
get_token_array_from_buffer_no_wait(Application_Links *app, Buffer_ID buffer)
{
Token_Array result = {};
Managed_Scope scope = buffer_get_managed_scope(app, buffer);
Async_Task *lex_task_ptr = scope_attachment(app, scope, buffer_lex_task, Async_Task);
if (lex_task_ptr == 0){
Token_Array *ptr = scope_attachment(app, scope, attachment_tokens, Token_Array);
if (ptr != 0){
result = *ptr;
}
}
return(result);
}
//////////////////////////////// ////////////////////////////////
function Buffer_Seek function Buffer_Seek