Add cancellation flag parameter to highlight API
This commit is contained in:
parent
0ae304f582
commit
8941dc1dda
4 changed files with 34 additions and 8 deletions
|
|
@ -229,6 +229,7 @@ fn test_highlighting_via_c_api() {
|
|||
source_code.as_ptr(),
|
||||
source_code.as_bytes().len() as u32,
|
||||
buffer,
|
||||
ptr::null_mut(),
|
||||
);
|
||||
|
||||
let output_bytes = c::ts_highlight_buffer_content(buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue