本文整理汇总了C#中MemberPointerType类的典型用法代码示例。如果您正苦于以下问题:C# MemberPointerType类的具体用法?C# MemberPointerType怎么用?C# MemberPointerType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MemberPointerType类属于命名空间,在下文中一共展示了MemberPointerType类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: MemberPointerType
protected MemberPointerType(MemberPointerType.Internal* native, bool isInternalImpl = false)
: base((CppSharp.Parser.AST.Type.Internal*) native)
{
}
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:4,代码来源:AST.cs
示例2: __CopyValue
private static MemberPointerType.Internal* __CopyValue(MemberPointerType.Internal native)
{
var ret = Marshal.AllocHGlobal(24);
CppSharp.Parser.AST.MemberPointerType.Internal.cctor_2(ret, new global::System.IntPtr(&native));
return (MemberPointerType.Internal*) ret;
}
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:6,代码来源:AST.cs
示例3: MemberPointerType
protected MemberPointerType(MemberPointerType.Internal* native, bool skipVTables = false)
: base((CppSharp.Parser.AST.Type.Internal*) null)
{
__PointerAdjustment = 0;
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
开发者ID:CSRedRat,项目名称:CppSharp,代码行数:8,代码来源:AST.cs
示例4: __CreateInstance
public static MemberPointerType __CreateInstance(MemberPointerType.Internal native)
{
return new MemberPointerType(native);
}
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:4,代码来源:AST.cs
示例5: __CreateInstance
public static MemberPointerType __CreateInstance(MemberPointerType.Internal native, bool skipVTables = false)
{
return new MemberPointerType(native, skipVTables);
}
开发者ID:CSRedRat,项目名称:CppSharp,代码行数:4,代码来源:AST.cs
示例6: MemberPointerType
internal MemberPointerType(MemberPointerType.Internal native)
: this(&native)
{
}
开发者ID:kidleon,项目名称:CppSharp,代码行数:4,代码来源:AST.cs
示例7: __CopyValue
private static void* __CopyValue(MemberPointerType.__Internal native)
{
var ret = Marshal.AllocHGlobal(16);
global::CppSharp.Parser.AST.MemberPointerType.__Internal.cctor_2(ret, new global::System.IntPtr(&native));
return ret.ToPointer();
}
开发者ID:ddobrev,项目名称:CppSharp,代码行数:6,代码来源:CppSharp.CppParser.cs
示例8: MemberPointerType
private MemberPointerType(MemberPointerType.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
}
开发者ID:KonajuGames,项目名称:CppSharp,代码行数:5,代码来源:AST.cs
示例9: MemberPointerType
internal MemberPointerType(MemberPointerType.Internal native)
: this(__CopyValue(native))
{
}
开发者ID:vovkasm,项目名称:CppSharp,代码行数:4,代码来源:AST.cs
示例10: VisitMemberPointerType
public override bool VisitMemberPointerType(MemberPointerType member,
TypeQualifiers quals)
{
return false;
}
开发者ID:fangsunjian,项目名称:CppSharp,代码行数:5,代码来源:CSharpMarshal.cs
示例11: VisitMemberPointerType
public override bool VisitMemberPointerType(MemberPointerType member,
TypeQualifiers quals)
{
FunctionType functionType;
if (!member.IsPointerTo(out functionType))
{
Ignore();
return false;
}
return base.VisitMemberPointerType(member, quals);
}
开发者ID:jijamw,项目名称:CppSharp,代码行数:11,代码来源:Types.cs
注:本文中的MemberPointerType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论