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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user