RefCounted.cs 561 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Runtime.InteropServices;
  4. namespace AtomicEngine
  5. {
  6. public partial class RefCounted
  7. {
  8. public RefCounted()
  9. {
  10. }
  11. protected RefCounted(IntPtr native)
  12. {
  13. nativeInstance = native;
  14. }
  15. public IntPtr nativeInstance = IntPtr.Zero;
  16. [DllImport(Constants.LIBNAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
  17. public static extern IntPtr csb_Atomic_RefCounted_GetClassID(IntPtr self);
  18. }
  19. }