Language support for [FixedAddressValueType] #4489
Unanswered
DaZombieKiller
asked this question in
Language Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
FixedAddressValueType allows you to declare a
static
field asfixed
. However, the language doesn't currently treat these fields asfixed
, and thus you cannot use the address-of operator on them, instead needing to use afixed
block orUnsafe.AsPointer
:This can make it annoying when working with function pointers, as you will need to duplicate the function pointer signature (since you can only use a
fixed
statement in this situation):Beta Was this translation helpful? Give feedback.
All reactions