Browse Source

Update windows bindings

pull/262/head
Tomi Valkeinen 12 years ago
parent
commit
043e54d3da
  1. 16
      src/CppParser/Bindings/CLI/AST.cpp
  2. 4
      src/CppParser/Bindings/CLI/AST.h
  3. 16
      src/CppParser/Bindings/CSharp/i686-pc-win32/AST.cs

16
src/CppParser/Bindings/CLI/AST.cpp

@ -2934,23 +2934,23 @@ void CppSharp::Parser::AST::RawComment::BriefText::set(System::String^ s)
((::CppSharp::CppParser::AST::RawComment*)NativePtr)->setBriefText(arg0); ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->setBriefText(arg0);
} }
CppSharp::Parser::AST::RawCommentKind CppSharp::Parser::AST::RawComment::RawCommentKind::get() CppSharp::Parser::AST::RawCommentKind CppSharp::Parser::AST::RawComment::Kind::get()
{ {
return (CppSharp::Parser::AST::RawCommentKind)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->RawCommentKind; return (CppSharp::Parser::AST::RawCommentKind)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->Kind;
} }
void CppSharp::Parser::AST::RawComment::RawCommentKind::set(CppSharp::Parser::AST::RawCommentKind value) void CppSharp::Parser::AST::RawComment::Kind::set(CppSharp::Parser::AST::RawCommentKind value)
{ {
((::CppSharp::CppParser::AST::RawComment*)NativePtr)->RawCommentKind = (::CppSharp::CppParser::AST::RawCommentKind)value; ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->Kind = (::CppSharp::CppParser::AST::RawCommentKind)value;
} }
CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::RawComment::FullComment::get() CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::RawComment::FullCommentBlock::get()
{ {
return (((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullComment == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullComment); return (((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullCommentBlock == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullCommentBlock);
} }
void CppSharp::Parser::AST::RawComment::FullComment::set(CppSharp::Parser::AST::FullComment^ value) void CppSharp::Parser::AST::RawComment::FullCommentBlock::set(CppSharp::Parser::AST::FullComment^ value)
{ {
((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullComment = (::CppSharp::CppParser::AST::FullComment*)value->NativePtr; ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullCommentBlock = (::CppSharp::CppParser::AST::FullComment*)value->NativePtr;
} }

4
src/CppParser/Bindings/CLI/AST.h

@ -1933,13 +1933,13 @@ namespace CppSharp
void set(System::String^); void set(System::String^);
} }
property CppSharp::Parser::AST::RawCommentKind RawCommentKind property CppSharp::Parser::AST::RawCommentKind Kind
{ {
CppSharp::Parser::AST::RawCommentKind get(); CppSharp::Parser::AST::RawCommentKind get();
void set(CppSharp::Parser::AST::RawCommentKind); void set(CppSharp::Parser::AST::RawCommentKind);
} }
property CppSharp::Parser::AST::FullComment^ FullComment property CppSharp::Parser::AST::FullComment^ FullCommentBlock
{ {
CppSharp::Parser::AST::FullComment^ get(); CppSharp::Parser::AST::FullComment^ get();
void set(CppSharp::Parser::AST::FullComment^); void set(CppSharp::Parser::AST::FullComment^);

16
src/CppParser/Bindings/CSharp/i686-pc-win32/AST.cs

@ -7081,10 +7081,10 @@ namespace CppSharp
public struct Internal public struct Internal
{ {
[FieldOffset(0)] [FieldOffset(0)]
public CppSharp.Parser.AST.RawCommentKind RawCommentKind; public CppSharp.Parser.AST.RawCommentKind Kind;
[FieldOffset(52)] [FieldOffset(52)]
public global::System.IntPtr FullComment; public global::System.IntPtr FullCommentBlock;
[SuppressUnmanagedCodeSecurity] [SuppressUnmanagedCodeSecurity]
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall,
@ -7191,33 +7191,33 @@ namespace CppSharp
} }
} }
public CppSharp.Parser.AST.RawCommentKind RawCommentKind public CppSharp.Parser.AST.RawCommentKind Kind
{ {
get get
{ {
var __ptr = (Internal*)__Instance.ToPointer(); var __ptr = (Internal*)__Instance.ToPointer();
return __ptr->RawCommentKind; return __ptr->Kind;
} }
set set
{ {
var __ptr = (Internal*)__Instance.ToPointer(); var __ptr = (Internal*)__Instance.ToPointer();
__ptr->RawCommentKind = value; __ptr->Kind = value;
} }
} }
public CppSharp.Parser.AST.FullComment FullComment public CppSharp.Parser.AST.FullComment FullCommentBlock
{ {
get get
{ {
var __ptr = (Internal*)__Instance.ToPointer(); var __ptr = (Internal*)__Instance.ToPointer();
return (__ptr->FullComment == IntPtr.Zero) ? null : new CppSharp.Parser.AST.FullComment(__ptr->FullComment); return (__ptr->FullCommentBlock == IntPtr.Zero) ? null : new CppSharp.Parser.AST.FullComment(__ptr->FullCommentBlock);
} }
set set
{ {
var __ptr = (Internal*)__Instance.ToPointer(); var __ptr = (Internal*)__Instance.ToPointer();
__ptr->FullComment = value == (CppSharp.Parser.AST.FullComment) null ? global::System.IntPtr.Zero : value.__Instance; __ptr->FullCommentBlock = value == (CppSharp.Parser.AST.FullComment) null ? global::System.IntPtr.Zero : value.__Instance;
} }
} }
} }

Loading…
Cancel
Save