-
Notifications
You must be signed in to change notification settings - Fork 32
CLRNativeInt
From Technical Overview of the Common Language Runtime at http://research.microsoft.com/~emeijer/Papers/CLR.pdf
The object type represents an object reference that is managed by the CLI. A managed pointer & is similar to the object type, but points to the interior of an object. Managed pointers are not interchangeable with object references. Unmanaged pointers * or native int are the traditional pointers of other runtime systems, that is, the addresses of data. Unmanaged pointers are an essential element for the interoperation of CLI programs with native code components. Such pointers may not point into the managed heap since such heap values are under the control of a garbage collector that is free to move and compact objects. Conversely, values of managed pointer type may safely point outside the managed heap, since the garbage collector knows the heap limits.