[foreign-abi] RFR 8237899: Add support for scoped allocation
Michael Zucchi
notzed at gmail.com
Wed Jan 29 03:59:16 UTC 2020
sweet, nice addition.
any change of a segmentScope() call?
On 28/1/20 5:44 am, Maurizio Cimadamore wrote:
> Hi,
> after having programmed a quite a bit with both the old and new
> jextract bindings, I noted a mismatch (which was recently pointed out
> by Michael too); in C local variables are just... variables allocated
> on stack. If you need a pointer to them, you can just use C's
> dereference operator (&) and be done.
>
> In Panama-ized code, going from a regular variable (e.g. an int) to a
> variable that can be dereferenced (e.g. a MemoryAddress containing an
> int) is quite
More information about the panama-dev
mailing list