protected HTMLTagComment(HTMLTagComment.Internal* native, bool isInternalImpl = false) : base((CppSharp.Parser.AST.InlineContentComment.Internal*) native) { }
private static HTMLTagComment.Internal* __CopyValue(HTMLTagComment.Internal native) { var ret = (HTMLTagComment.Internal*) Marshal.AllocHGlobal(4); *ret = native; return ret; }
private HTMLTagComment(HTMLTagComment.Internal native) : this(__CopyValue(native)) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
public static HTMLTagComment __CreateInstance(HTMLTagComment.Internal native) { return new HTMLTagComment(native); }
protected HTMLTagComment(HTMLTagComment.Internal* native, bool skipVTables = false) : base((CppSharp.Parser.AST.InlineContentComment.Internal*) null) { __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); }
private HTMLTagComment(HTMLTagComment.Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
public static HTMLTagComment __CreateInstance(HTMLTagComment.Internal native, bool skipVTables = false) { return new HTMLTagComment(native, skipVTables); }
private static void* __CopyValue(HTMLTagComment.__Internal native) { var ret = Marshal.AllocHGlobal(8); *(HTMLTagComment.__Internal*) ret = native; return ret.ToPointer(); }