Exemple #1
0
 protected HTMLTagComment(HTMLTagComment.Internal* native, bool isInternalImpl = false)
     : base((CppSharp.Parser.AST.InlineContentComment.Internal*) native)
 {
 }
Exemple #2
0
 private static HTMLTagComment.Internal* __CopyValue(HTMLTagComment.Internal native)
 {
     var ret = (HTMLTagComment.Internal*) Marshal.AllocHGlobal(4);
     *ret = native;
     return ret;
 }
Exemple #3
0
 private HTMLTagComment(HTMLTagComment.Internal native)
     : this(__CopyValue(native))
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Exemple #4
0
 public static HTMLTagComment __CreateInstance(HTMLTagComment.Internal native)
 {
     return new HTMLTagComment(native);
 }
Exemple #5
0
 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);
 }
Exemple #6
0
 private HTMLTagComment(HTMLTagComment.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Exemple #7
0
 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();
 }