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.
 
 
 
 
 

25 lines
564 B

/************************************************************************
*
* Cxxi
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/
#include "Parser.h"
#include "Interop.h"
public ref class ClangParser
{
public:
static bool Parse(ParserOptions^ Opts)
{
if (!Opts->FileName) return false;
using namespace clix;
std::string File = marshalString<E_UTF8>(Opts->FileName);
Parser p(Opts);
return p.Parse(File);
}
};