Skip to content

Commit 945de7e

Browse files
committed
v.embed_file: use @[markused] for find_index_entry_by_path/3
1 parent b5813c2 commit 945de7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vlib/v/embed_file/embed_file.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ pub struct EmbedFileIndexEntry {
8888
}
8989

9090
// find_index_entry_by_path is used internally by the V compiler:
91+
@[markused]
9192
pub fn find_index_entry_by_path(start voidptr, path string, algo string) &EmbedFileIndexEntry {
9293
unsafe {
9394
mut x := &EmbedFileIndexEntry(start)

0 commit comments

Comments
 (0)