private static void *__CopyValue(global::Core.Ffm.FfmModel.__Internal native) { var ret = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(global::Core.Ffm.FfmModel.__Internal))); *(global::Core.Ffm.FfmModel.__Internal *)ret = native; return(ret.ToPointer()); }
private FfmModel(global::Core.Ffm.FfmModel.__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static global::Core.Ffm.FfmModel __CreateInstance(global::Core.Ffm.FfmModel.__Internal native, bool skipVTables = false) { return(new FfmModel(native, skipVTables)); }