1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v: tag more low level functions with [direct_array_access]

This commit is contained in:
Delyan Angelov
2021-05-06 00:31:25 +03:00
parent 3405f517a4
commit 84f9789e72
4 changed files with 25 additions and 12 deletions

View File

@ -9,6 +9,7 @@ __global (
)
// isnil returns true if an object is nil (only for C objects).
[inline]
pub fn isnil(v voidptr) bool {
return v == 0
}