public static unsafe RCArray Create <T>(int length) where T : unmanaged { var context = new mir_rc_context_ptr(MirTypeInfoBuilder <T> .Info, new UIntPtr((uint)length)); return(new RCArray(context)); }
internal static unsafe RCPtr Create <T>() where T : unmanaged { var context = new mir_rc_context_ptr(MirTypeInfoBuilder <T> .Info, new UIntPtr(1)); return(new RCPtr(context)); }
internal unsafe RCArray(mir_rc_context_ptr context) : this(context.ToFollowingPtr()) { }
internal SlimRCPtr(mir_rc_context_ptr context) { Ptr = context.ToFollowingPtr(); }
internal RCPtr(IntPtr ptr, mir_rc_context_ptr context) { Ptr = ptr; Context = context; }
internal RCPtr(mir_rc_context_ptr context) { Ptr = context.ToFollowingPtr(); Context = context; }