make_mapped
Description:
Create a Memory object that is mapped with flags
.
If this is mappable with flags
, this function returns the mapped
this directly. Otherwise a mapped copy of this is returned.
This function takes ownership of old this and returns a reference to a new Memory.
Parameters:
this |
a Memory |
info |
pointer for info |
flags |
mapping flags |
Returns:
a Memory object mapped with |