Pointer/Scope API questions
Ty Young
youngty1997 at gmail.com
Sat Dec 21 23:59:00 UTC 2019
Hi,
There are a few questions I'd like to ask after using it for awhile:
A. the implementation of equals on Pointers and Scopes... How is it
implemented? In the case of Pointers, does the scope of which the
pointer was allocated matter? Is comparing Pointers to a struct of a
given type as reliable as comparing the structs themselves?
B. Is mixing allocated native types from different scopes and using them
together safe? Will it result in any weird side affects?
C. What scope are Pointers from C from exactly? The libraries specific
scope? Are there exceptions like If a function returns a Pointer which
is derived from function argument Pointer data, is the scope the same as
the input arguments?
Thanks for any clarity.
More information about the panama-dev
mailing list