Function getPtr [src]
Find the address of the value associated with a key.
The returned pointer is invalidated if the map resizes.
On Windows key must be a valid WTF-8 string.
Prototype
pub fn getPtr(self: EnvMap, key: []const u8) ?*[]const u8
Parameters
self: EnvMap
key: []const u8
Source
pub fn getPtr(self: EnvMap, key: []const u8) ?*[]const u8 {
assert(unicode.wtf8ValidateSlice(key));
return self.hash_map.getPtr(key);
}