@@ -197,6 +197,25 @@ void CppSharp::Parser::CppParserOptions::ClearSupportedStdTypes()
197
197
((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSupportedStdTypes ();
198
198
}
199
199
200
+ ::System::String^ CppSharp::Parser::CppParserOptions::GetSupportedFunctionTemplates(unsigned int i)
201
+ {
202
+ auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSupportedFunctionTemplates (i);
203
+ if (__ret == nullptr ) return nullptr ;
204
+ return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
205
+ }
206
+
207
+ void CppSharp::Parser::CppParserOptions::AddSupportedFunctionTemplates (::System::String^ s)
208
+ {
209
+ auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
210
+ auto __arg0 = ___arg0.c_str ();
211
+ ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSupportedFunctionTemplates (__arg0);
212
+ }
213
+
214
+ void CppSharp::Parser::CppParserOptions::ClearSupportedFunctionTemplates ()
215
+ {
216
+ ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSupportedFunctionTemplates ();
217
+ }
218
+
200
219
CppSharp::Parser::CppParserOptions::CppParserOptions (CppSharp::Parser::CppParserOptions^ _0)
201
220
{
202
221
__ownsNativeInstance = true ;
@@ -400,6 +419,29 @@ void CppSharp::Parser::CppParserOptions::SupportedStdTypes::set(::System::Collec
400
419
((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->SupportedStdTypes = _tmpvalue;
401
420
}
402
421
422
+ ::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::SupportedFunctionTemplates::get()
423
+ {
424
+ auto _tmp__SupportedFunctionTemplates = gcnew ::System::Collections::Generic::List<::System::String^>();
425
+ auto __list0 = NativePtr->SupportedFunctionTemplates ;
426
+ for (auto _element : __list0)
427
+ {
428
+ auto _marshalElement = clix::marshalString<clix::E_UTF8>(_element);
429
+ _tmp__SupportedFunctionTemplates->Add (_marshalElement);
430
+ }
431
+ return _tmp__SupportedFunctionTemplates;
432
+ }
433
+
434
+ void CppSharp::Parser::CppParserOptions::SupportedFunctionTemplates::set (::System::Collections::Generic::List<::System::String^>^ value)
435
+ {
436
+ auto _tmpvalue = std::vector<::std::string>();
437
+ for each (::System::String^ _element in value)
438
+ {
439
+ auto _marshalElement = clix::marshalString<clix::E_UTF8>(_element);
440
+ _tmpvalue.push_back (_marshalElement);
441
+ }
442
+ ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->SupportedFunctionTemplates = _tmpvalue;
443
+ }
444
+
403
445
CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::CppParserOptions::ASTContext::get()
404
446
{
405
447
return (NativePtr->ASTContext == nullptr ) ? nullptr : gcnew ::CppSharp::Parser::AST::ASTContext ((class ::CppSharp::CppParser::AST::ASTContext*)NativePtr->ASTContext );
@@ -564,6 +606,12 @@ unsigned int CppSharp::Parser::CppParserOptions::SupportedStdTypesCount::get()
564
606
return __ret;
565
607
}
566
608
609
+ unsigned int CppSharp::Parser::CppParserOptions::SupportedFunctionTemplatesCount::get ()
610
+ {
611
+ auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSupportedFunctionTemplatesCount ();
612
+ return __ret;
613
+ }
614
+
567
615
CppSharp::Parser::CppLinkerOptions::CppLinkerOptions (struct ::CppSharp::CppParser::CppLinkerOptions* native)
568
616
: __ownsNativeInstance(false )
569
617
{
0 commit comments