Exemple #1
0
 protected BlockContentComment(BlockContentComment.Internal* native, bool isInternalImpl = false)
     : base((CppSharp.Parser.AST.Comment.Internal*) native)
 {
 }
Exemple #2
0
 private static BlockContentComment.Internal* __CopyValue(BlockContentComment.Internal native)
 {
     var ret = (BlockContentComment.Internal*) Marshal.AllocHGlobal(4);
     *ret = native;
     return ret;
 }
Exemple #3
0
 private BlockContentComment(BlockContentComment.Internal native)
     : this(__CopyValue(native))
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Exemple #4
0
 public static BlockContentComment __CreateInstance(BlockContentComment.Internal native)
 {
     return new BlockContentComment(native);
 }
Exemple #5
0
 protected BlockContentComment(BlockContentComment.Internal* native, bool skipVTables = false)
     : base((CppSharp.Parser.AST.Comment.Internal*) null)
 {
     __PointerAdjustment = 0;
     if (native == null)
         return;
     __Instance = new global::System.IntPtr(native);
 }
Exemple #6
0
 private BlockContentComment(BlockContentComment.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Exemple #7
0
 public static BlockContentComment __CreateInstance(BlockContentComment.Internal native, bool skipVTables = false)
 {
     return new BlockContentComment(native, skipVTables);
 }
 private static void* __CopyValue(BlockContentComment.__Internal native)
 {
     var ret = Marshal.AllocHGlobal(4);
     *(BlockContentComment.__Internal*) ret = native;
     return ret.ToPointer();
 }