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:
parent
a34a24f4e7
commit
a072229d20
|
@ -61,21 +61,6 @@ get_token_array_from_buffer(Application_Links *app, Buffer_ID buffer){
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue