Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

43 lines
1.3 KiB

//----------------------------------------------------------------------------
// <auto-generated>
// This is autogenerated code by CppSharp.
// Do not edit this file or all your changes will be lost after re-generation.
// </auto-generated>
//----------------------------------------------------------------------------
#include "Sources.h"
using namespace System;
using namespace System::Runtime::InteropServices;
CppSharp::Parser::SourceLocation::SourceLocation(::CppSharp::CppParser::SourceLocation* native)
{
__ID = native->ID;
}
CppSharp::Parser::SourceLocation^ CppSharp::Parser::SourceLocation::__CreateInstance(::System::IntPtr native)
{
return gcnew ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*) native.ToPointer());
}
CppSharp::Parser::SourceLocation::SourceLocation(unsigned int ID)
{
::CppSharp::CppParser::SourceLocation _native(ID);
this->ID = _native.ID;
}
CppSharp::Parser::SourceLocation::operator CppSharp::Parser::SourceLocation(unsigned int ID)
{
auto __ret = (::CppSharp::CppParser::SourceLocation) ID;
return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&__ret);
}
unsigned int CppSharp::Parser::SourceLocation::ID::get()
{
return __ID;
}
void CppSharp::Parser::SourceLocation::ID::set(unsigned int value)
{
__ID = value;
}