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