MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / anchor_addref

Method anchor_addref

StereoKit/Native/NativeAPI.cs:595–595  ·  view source on GitHub ↗
(IntPtr anchor)

Source from the content-addressed store, hash-verified

593 [DllImport(dll, CallingConvention = call )] public static extern void anchor_set_id (IntPtr anchor, [In] byte[] asset_id_utf8);
594 [DllImport(dll, CallingConvention = call )] public static extern IntPtr anchor_get_id (IntPtr anchor);
595 [DllImport(dll, CallingConvention = call )] public static extern void anchor_addref (IntPtr anchor);
596 [DllImport(dll, CallingConvention = call )] public static extern void anchor_release (IntPtr anchor);
597 [return: MarshalAs(UnmanagedType.Bool)]
598 [DllImport(dll, CallingConvention = call )] public static extern bool anchor_try_set_persistent(IntPtr anchor, [MarshalAs(UnmanagedType.Bool)] bool persistent);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected