本文整理汇总了C#中VTableLayout类的典型用法代码示例。如果您正苦于以下问题:C# VTableLayout类的具体用法?C# VTableLayout怎么用?C# VTableLayout使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
VTableLayout类属于命名空间,在下文中一共展示了VTableLayout类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: VTableLayout
protected VTableLayout(VTableLayout.Internal* native, bool isInternalImpl = false)
{
__Instance = new global::System.IntPtr(native);
}
示例2: __CopyValue
private static VTableLayout.Internal* __CopyValue(VTableLayout.Internal native)
{
var ret = Marshal.AllocHGlobal(24);
CppSharp.Parser.AST.VTableLayout.Internal.cctor_1(ret, new global::System.IntPtr(&native));
return (VTableLayout.Internal*) ret;
}
示例3: VTableLayout
protected VTableLayout(VTableLayout.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
示例4: __CreateInstance
public static VTableLayout __CreateInstance(VTableLayout.Internal native)
{
return new VTableLayout(native);
}
示例5: VTableLayout
private VTableLayout(VTableLayout.__Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
示例6: __CreateInstance
public static VTableLayout __CreateInstance(VTableLayout.Internal native, bool skipVTables = false)
{
return new VTableLayout(native, skipVTables);
}
示例7: __CopyValue
private static void* __CopyValue(VTableLayout.__Internal native)
{
var ret = Marshal.AllocHGlobal(12);
global::CppSharp.Parser.AST.VTableLayout.__Internal.cctor_1(ret, new global::System.IntPtr(&native));
return ret.ToPointer();
}
示例8: VTableLayout
internal VTableLayout(VTableLayout.Internal native)
: this(&native)
{
}
示例9: VTableLayout
private VTableLayout(VTableLayout.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
}
示例10: VTableLayout
internal VTableLayout(VTableLayout.Internal native)
: this(__CopyValue(native))
{
}