Skip to content

Commit f770c7a

Browse files
authored
builtin: set @MarkusEd for vgc_memdup_typed() (#26783)
1 parent b63592d commit f770c7a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎vlib/builtin/vgc_d_vgc.c.v‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ fn vgc_calloc(n usize) voidptr {
853853

854854
// Typed memdup: allocate with pointer map and copy source data.
855855
// Used by HEAP_vgc() macro for struct allocations with known layout.
856+
@[markused]
856857
fn vgc_memdup_typed(src voidptr, n isize, ptrmap u64, ptr_words u8) voidptr {
857858
if src == unsafe { nil } || n <= 0 {
858859
return unsafe { nil }

0 commit comments

Comments
 (0)