Associated MemoryAddress API

Ty Young youngty1997 at gmail.com
Tue Mar 3 18:05:18 UTC 2020


Hi,


In more OO type memory allocation situations where allocated memory 
*technically* belongs to another object located in memory, it'd be 
useful to have an API so that you can associate a MemoryAddress which 
contains an int pointer to some larger object(struct, for example but 
could be anything). This would be different than AllocationScope as you 
don't know how much memory in the end you'll need but you still know it 
belongs to another MemoryAddress.


Could this be done?







More information about the panama-dev mailing list