コード例 #1
0
            public CppSharp.Parser.ParserDiagnostic getDiagnostics(uint i)
            {
                var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();

                Internal.getDiagnostics_0(new IntPtr(&__ret), __Instance, i);
                return(CppSharp.Parser.ParserDiagnostic.__CreateInstance(__ret));
            }
コード例 #2
0
ファイル: CppParser.cs プロジェクト: antonfirsov/CppSharp
 public CppSharp.Parser.ParserDiagnostic getDiagnostics(uint i)
 {
     var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();
     Internal.getDiagnostics_0(new IntPtr(&__ret), __Instance, i);
     var __instance = Marshal.AllocHGlobal(32);
     CppSharp.Parser.ParserDiagnostic.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
     return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.ParserDiagnostic(__instance);
 }
コード例 #3
0
ファイル: CppParser.cs プロジェクト: gpetrou/CppSharp
            public CppSharp.Parser.ParserDiagnostic getDiagnostics(uint i)
            {
                var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();

                Internal.getDiagnostics_0(__Instance, new IntPtr(&__ret), i);
                var __instance = Marshal.AllocHGlobal(36);

                CppSharp.Parser.ParserDiagnostic.Internal.ctor_2(__instance, new global::System.IntPtr(&__ret));
                return(new CppSharp.Parser.ParserDiagnostic(__instance));
            }
コード例 #4
0
ファイル: CppParser.cs プロジェクト: fangsunjian/CppSharp
 public CppSharp.Parser.ParserDiagnostic getDiagnostics(uint i)
 {
     var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();
     Internal.getDiagnostics_0(new IntPtr(&__ret), __Instance, i);
     return CppSharp.Parser.ParserDiagnostic.__CreateInstance(__ret);
 }
コード例 #5
0
 public CppSharp.Parser.ParserDiagnostic getDiagnostics(uint i)
 {
     var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();
     Internal.getDiagnostics_0(new IntPtr(&__ret), __Instance, i);
     var __instance = Marshal.AllocHGlobal(36);
     CppSharp.Parser.ParserDiagnostic.Internal.cctor_1(__instance, new global::System.IntPtr(&__ret));
     return (__instance == IntPtr.Zero) ? null : new CppSharp.Parser.ParserDiagnostic(__instance);
 }
コード例 #6
0
ファイル: CppParser.cs プロジェクト: kidleon/CppSharp
 public CppSharp.Parser.ParserDiagnostic getDiagnostics(uint i)
 {
     var __ret = new CppSharp.Parser.ParserDiagnostic.Internal();
     Internal.getDiagnostics_0(__Instance, new IntPtr(&__ret), i);
     var __instance = Marshal.AllocHGlobal(60);
     CppSharp.Parser.ParserDiagnostic.Internal.ctor_2(__instance, new global::System.IntPtr(&__ret));
     return new CppSharp.Parser.ParserDiagnostic(__instance);
 }