@@ -15,9 +15,9 @@ namespace CppSharp
1515 {
1616 namespace AST
1717 {
18- enum struct ArchType ;
19- enum struct CommentKind ;
20- enum struct RawCommentKind ;
18+ enum class ArchType ;
19+ enum class CommentKind ;
20+ enum class RawCommentKind ;
2121 ref class BlockCommandComment ;
2222 ref class BlockContentComment ;
2323 ref class Comment ;
@@ -46,7 +46,7 @@ namespace CppSharp
4646 {
4747 namespace AST
4848 {
49- public enum struct RawCommentKind
49+ public enum class RawCommentKind
5050 {
5151 Invalid = 0 ,
5252 OrdinaryBCPL = 1 ,
@@ -58,7 +58,7 @@ namespace CppSharp
5858 Merged = 7
5959 };
6060
61- public enum struct CommentKind
61+ public enum class CommentKind
6262 {
6363 FullComment = 0 ,
6464 BlockContentComment = 1 ,
@@ -77,7 +77,7 @@ namespace CppSharp
7777 VerbatimBlockLineComment = 14
7878 };
7979
80- public enum struct ArchType
80+ public enum class ArchType
8181 {
8282 UnknownArch = 0 ,
8383 X86 = 1 ,
@@ -96,6 +96,7 @@ namespace CppSharp
9696 }
9797
9898 NativeLibrary (::CppSharp::CppParser::AST::NativeLibrary* native);
99+ NativeLibrary (::CppSharp::CppParser::AST::NativeLibrary* native, bool ownNativeInstance);
99100 static NativeLibrary^ __CreateInstance(::System::IntPtr native);
100101 NativeLibrary ();
101102
@@ -165,6 +166,7 @@ namespace CppSharp
165166 }
166167
167168 Comment (::CppSharp::CppParser::AST::Comment* native);
169+ Comment (::CppSharp::CppParser::AST::Comment* native, bool ownNativeInstance);
168170 static Comment^ __CreateInstance(::System::IntPtr native);
169171 Comment (CppSharp::Parser::AST::CommentKind kind);
170172
@@ -189,6 +191,7 @@ namespace CppSharp
189191 public:
190192
191193 BlockContentComment (::CppSharp::CppParser::AST::BlockContentComment* native);
194+ BlockContentComment (::CppSharp::CppParser::AST::BlockContentComment* native, bool ownNativeInstance);
192195 static BlockContentComment^ __CreateInstance(::System::IntPtr native);
193196 BlockContentComment ();
194197
@@ -206,6 +209,7 @@ namespace CppSharp
206209 public:
207210
208211 FullComment (::CppSharp::CppParser::AST::FullComment* native);
212+ FullComment (::CppSharp::CppParser::AST::FullComment* native, bool ownNativeInstance);
209213 static FullComment^ __CreateInstance(::System::IntPtr native);
210214 FullComment ();
211215
@@ -236,6 +240,7 @@ namespace CppSharp
236240 public:
237241
238242 InlineContentComment (::CppSharp::CppParser::AST::InlineContentComment* native);
243+ InlineContentComment (::CppSharp::CppParser::AST::InlineContentComment* native, bool ownNativeInstance);
239244 static InlineContentComment^ __CreateInstance(::System::IntPtr native);
240245 InlineContentComment ();
241246
@@ -259,6 +264,7 @@ namespace CppSharp
259264 public:
260265
261266 ParagraphComment (::CppSharp::CppParser::AST::ParagraphComment* native);
267+ ParagraphComment (::CppSharp::CppParser::AST::ParagraphComment* native, bool ownNativeInstance);
262268 static ParagraphComment^ __CreateInstance(::System::IntPtr native);
263269 ParagraphComment ();
264270
@@ -306,6 +312,7 @@ namespace CppSharp
306312 }
307313
308314 Argument (::CppSharp::CppParser::AST::BlockCommandComment::Argument* native);
315+ Argument (::CppSharp::CppParser::AST::BlockCommandComment::Argument* native, bool ownNativeInstance);
309316 static Argument^ __CreateInstance(::System::IntPtr native);
310317 Argument ();
311318
@@ -324,6 +331,7 @@ namespace CppSharp
324331 };
325332
326333 BlockCommandComment (::CppSharp::CppParser::AST::BlockCommandComment* native);
334+ BlockCommandComment (::CppSharp::CppParser::AST::BlockCommandComment* native, bool ownNativeInstance);
327335 static BlockCommandComment^ __CreateInstance(::System::IntPtr native);
328336 BlockCommandComment ();
329337
@@ -369,14 +377,15 @@ namespace CppSharp
369377 {
370378 public:
371379
372- enum struct PassDirection
380+ enum class PassDirection
373381 {
374382 In = 0 ,
375383 Out = 1 ,
376384 InOut = 2
377385 };
378386
379387 ParamCommandComment (::CppSharp::CppParser::AST::ParamCommandComment* native);
388+ ParamCommandComment (::CppSharp::CppParser::AST::ParamCommandComment* native, bool ownNativeInstance);
380389 static ParamCommandComment^ __CreateInstance(::System::IntPtr native);
381390 ParamCommandComment ();
382391
@@ -402,6 +411,7 @@ namespace CppSharp
402411 public:
403412
404413 TParamCommandComment (::CppSharp::CppParser::AST::TParamCommandComment* native);
414+ TParamCommandComment (::CppSharp::CppParser::AST::TParamCommandComment* native, bool ownNativeInstance);
405415 static TParamCommandComment^ __CreateInstance(::System::IntPtr native);
406416 TParamCommandComment ();
407417
@@ -432,6 +442,7 @@ namespace CppSharp
432442 public:
433443
434444 VerbatimBlockLineComment (::CppSharp::CppParser::AST::VerbatimBlockLineComment* native);
445+ VerbatimBlockLineComment (::CppSharp::CppParser::AST::VerbatimBlockLineComment* native, bool ownNativeInstance);
435446 static VerbatimBlockLineComment^ __CreateInstance(::System::IntPtr native);
436447 VerbatimBlockLineComment ();
437448
@@ -451,6 +462,7 @@ namespace CppSharp
451462 public:
452463
453464 VerbatimBlockComment (::CppSharp::CppParser::AST::VerbatimBlockComment* native);
465+ VerbatimBlockComment (::CppSharp::CppParser::AST::VerbatimBlockComment* native, bool ownNativeInstance);
454466 static VerbatimBlockComment^ __CreateInstance(::System::IntPtr native);
455467 VerbatimBlockComment ();
456468
@@ -481,6 +493,7 @@ namespace CppSharp
481493 public:
482494
483495 VerbatimLineComment (::CppSharp::CppParser::AST::VerbatimLineComment* native);
496+ VerbatimLineComment (::CppSharp::CppParser::AST::VerbatimLineComment* native, bool ownNativeInstance);
484497 static VerbatimLineComment^ __CreateInstance(::System::IntPtr native);
485498 VerbatimLineComment ();
486499
@@ -499,7 +512,7 @@ namespace CppSharp
499512 {
500513 public:
501514
502- enum struct RenderKind
515+ enum class RenderKind
503516 {
504517 RenderNormal = 0 ,
505518 RenderBold = 1 ,
@@ -519,6 +532,7 @@ namespace CppSharp
519532 }
520533
521534 Argument (::CppSharp::CppParser::AST::InlineCommandComment::Argument* native);
535+ Argument (::CppSharp::CppParser::AST::InlineCommandComment::Argument* native, bool ownNativeInstance);
522536 static Argument^ __CreateInstance(::System::IntPtr native);
523537 Argument ();
524538
@@ -537,6 +551,7 @@ namespace CppSharp
537551 };
538552
539553 InlineCommandComment (::CppSharp::CppParser::AST::InlineCommandComment* native);
554+ InlineCommandComment (::CppSharp::CppParser::AST::InlineCommandComment* native, bool ownNativeInstance);
540555 static InlineCommandComment^ __CreateInstance(::System::IntPtr native);
541556 InlineCommandComment ();
542557
@@ -579,6 +594,7 @@ namespace CppSharp
579594 public:
580595
581596 HTMLTagComment (::CppSharp::CppParser::AST::HTMLTagComment* native);
597+ HTMLTagComment (::CppSharp::CppParser::AST::HTMLTagComment* native, bool ownNativeInstance);
582598 static HTMLTagComment^ __CreateInstance(::System::IntPtr native);
583599 HTMLTagComment ();
584600
@@ -607,6 +623,7 @@ namespace CppSharp
607623 }
608624
609625 Attribute (::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native);
626+ Attribute (::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native, bool ownNativeInstance);
610627 static Attribute^ __CreateInstance(::System::IntPtr native);
611628 Attribute ();
612629
@@ -631,6 +648,7 @@ namespace CppSharp
631648 };
632649
633650 HTMLStartTagComment (::CppSharp::CppParser::AST::HTMLStartTagComment* native);
651+ HTMLStartTagComment (::CppSharp::CppParser::AST::HTMLStartTagComment* native, bool ownNativeInstance);
634652 static HTMLStartTagComment^ __CreateInstance(::System::IntPtr native);
635653 HTMLStartTagComment ();
636654
@@ -667,6 +685,7 @@ namespace CppSharp
667685 public:
668686
669687 HTMLEndTagComment (::CppSharp::CppParser::AST::HTMLEndTagComment* native);
688+ HTMLEndTagComment (::CppSharp::CppParser::AST::HTMLEndTagComment* native, bool ownNativeInstance);
670689 static HTMLEndTagComment^ __CreateInstance(::System::IntPtr native);
671690 HTMLEndTagComment ();
672691
@@ -686,6 +705,7 @@ namespace CppSharp
686705 public:
687706
688707 TextComment (::CppSharp::CppParser::AST::TextComment* native);
708+ TextComment (::CppSharp::CppParser::AST::TextComment* native, bool ownNativeInstance);
689709 static TextComment^ __CreateInstance(::System::IntPtr native);
690710 TextComment ();
691711
@@ -712,6 +732,7 @@ namespace CppSharp
712732 }
713733
714734 RawComment (::CppSharp::CppParser::AST::RawComment* native);
735+ RawComment (::CppSharp::CppParser::AST::RawComment* native, bool ownNativeInstance);
715736 static RawComment^ __CreateInstance(::System::IntPtr native);
716737 RawComment ();
717738
0 commit comments