Prevent uncessary re-tagging for address functions (#1250)

This commit is contained in:
Scags 2020-05-08 16:54:01 -05:00 committed by GitHub
parent f3200b2232
commit 44615b7ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -676,9 +676,10 @@ enum Address
* *
* @param addr Address to a memory location. * @param addr Address to a memory location.
* @param size How many bytes should be read. * @param size How many bytes should be read.
* If loading a floating-point value, use NumberType_Int32.
* @return The value that is stored at that address. * @return The value that is stored at that address.
*/ */
native int LoadFromAddress(Address addr, NumberType size); native any LoadFromAddress(Address addr, NumberType size);
/** /**
* Store up to 4 bytes to a memory address. * Store up to 4 bytes to a memory address.
@ -686,8 +687,9 @@ native int LoadFromAddress(Address addr, NumberType size);
* @param addr Address to a memory location. * @param addr Address to a memory location.
* @param data Value to store at the address. * @param data Value to store at the address.
* @param size How many bytes should be written. * @param size How many bytes should be written.
* If storing a floating-point value, use NumberType_Int32.
*/ */
native void StoreToAddress(Address addr, int data, NumberType size); native void StoreToAddress(Address addr, any data, NumberType size);
methodmap FrameIterator < Handle { methodmap FrameIterator < Handle {
// Creates a stack frame iterator to build your own stack traces. // Creates a stack frame iterator to build your own stack traces.