@@ -15,9 +15,9 @@ namespace CppSharp
15
15
{
16
16
namespace AST
17
17
{
18
- enum struct ArchType ;
19
- enum struct CommentKind ;
20
- enum struct RawCommentKind ;
18
+ enum class ArchType ;
19
+ enum class CommentKind ;
20
+ enum class RawCommentKind ;
21
21
ref class BlockCommandComment ;
22
22
ref class BlockContentComment ;
23
23
ref class Comment ;
@@ -46,7 +46,7 @@ namespace CppSharp
46
46
{
47
47
namespace AST
48
48
{
49
- public enum struct RawCommentKind
49
+ public enum class RawCommentKind
50
50
{
51
51
Invalid = 0 ,
52
52
OrdinaryBCPL = 1 ,
@@ -58,7 +58,7 @@ namespace CppSharp
58
58
Merged = 7
59
59
};
60
60
61
- public enum struct CommentKind
61
+ public enum class CommentKind
62
62
{
63
63
FullComment = 0 ,
64
64
BlockContentComment = 1 ,
@@ -77,7 +77,7 @@ namespace CppSharp
77
77
VerbatimBlockLineComment = 14
78
78
};
79
79
80
- public enum struct ArchType
80
+ public enum class ArchType
81
81
{
82
82
UnknownArch = 0 ,
83
83
X86 = 1 ,
@@ -96,6 +96,7 @@ namespace CppSharp
96
96
}
97
97
98
98
NativeLibrary (::CppSharp::CppParser::AST::NativeLibrary* native);
99
+ NativeLibrary (::CppSharp::CppParser::AST::NativeLibrary* native, bool ownNativeInstance);
99
100
static NativeLibrary^ __CreateInstance(::System::IntPtr native);
100
101
NativeLibrary ();
101
102
@@ -165,6 +166,7 @@ namespace CppSharp
165
166
}
166
167
167
168
Comment (::CppSharp::CppParser::AST::Comment* native);
169
+ Comment (::CppSharp::CppParser::AST::Comment* native, bool ownNativeInstance);
168
170
static Comment^ __CreateInstance(::System::IntPtr native);
169
171
Comment (CppSharp::Parser::AST::CommentKind kind);
170
172
@@ -189,6 +191,7 @@ namespace CppSharp
189
191
public:
190
192
191
193
BlockContentComment (::CppSharp::CppParser::AST::BlockContentComment* native);
194
+ BlockContentComment (::CppSharp::CppParser::AST::BlockContentComment* native, bool ownNativeInstance);
192
195
static BlockContentComment^ __CreateInstance(::System::IntPtr native);
193
196
BlockContentComment ();
194
197
@@ -206,6 +209,7 @@ namespace CppSharp
206
209
public:
207
210
208
211
FullComment (::CppSharp::CppParser::AST::FullComment* native);
212
+ FullComment (::CppSharp::CppParser::AST::FullComment* native, bool ownNativeInstance);
209
213
static FullComment^ __CreateInstance(::System::IntPtr native);
210
214
FullComment ();
211
215
@@ -236,6 +240,7 @@ namespace CppSharp
236
240
public:
237
241
238
242
InlineContentComment (::CppSharp::CppParser::AST::InlineContentComment* native);
243
+ InlineContentComment (::CppSharp::CppParser::AST::InlineContentComment* native, bool ownNativeInstance);
239
244
static InlineContentComment^ __CreateInstance(::System::IntPtr native);
240
245
InlineContentComment ();
241
246
@@ -259,6 +264,7 @@ namespace CppSharp
259
264
public:
260
265
261
266
ParagraphComment (::CppSharp::CppParser::AST::ParagraphComment* native);
267
+ ParagraphComment (::CppSharp::CppParser::AST::ParagraphComment* native, bool ownNativeInstance);
262
268
static ParagraphComment^ __CreateInstance(::System::IntPtr native);
263
269
ParagraphComment ();
264
270
@@ -306,6 +312,7 @@ namespace CppSharp
306
312
}
307
313
308
314
Argument (::CppSharp::CppParser::AST::BlockCommandComment::Argument* native);
315
+ Argument (::CppSharp::CppParser::AST::BlockCommandComment::Argument* native, bool ownNativeInstance);
309
316
static Argument^ __CreateInstance(::System::IntPtr native);
310
317
Argument ();
311
318
@@ -324,6 +331,7 @@ namespace CppSharp
324
331
};
325
332
326
333
BlockCommandComment (::CppSharp::CppParser::AST::BlockCommandComment* native);
334
+ BlockCommandComment (::CppSharp::CppParser::AST::BlockCommandComment* native, bool ownNativeInstance);
327
335
static BlockCommandComment^ __CreateInstance(::System::IntPtr native);
328
336
BlockCommandComment ();
329
337
@@ -369,14 +377,15 @@ namespace CppSharp
369
377
{
370
378
public:
371
379
372
- enum struct PassDirection
380
+ enum class PassDirection
373
381
{
374
382
In = 0 ,
375
383
Out = 1 ,
376
384
InOut = 2
377
385
};
378
386
379
387
ParamCommandComment (::CppSharp::CppParser::AST::ParamCommandComment* native);
388
+ ParamCommandComment (::CppSharp::CppParser::AST::ParamCommandComment* native, bool ownNativeInstance);
380
389
static ParamCommandComment^ __CreateInstance(::System::IntPtr native);
381
390
ParamCommandComment ();
382
391
@@ -402,6 +411,7 @@ namespace CppSharp
402
411
public:
403
412
404
413
TParamCommandComment (::CppSharp::CppParser::AST::TParamCommandComment* native);
414
+ TParamCommandComment (::CppSharp::CppParser::AST::TParamCommandComment* native, bool ownNativeInstance);
405
415
static TParamCommandComment^ __CreateInstance(::System::IntPtr native);
406
416
TParamCommandComment ();
407
417
@@ -432,6 +442,7 @@ namespace CppSharp
432
442
public:
433
443
434
444
VerbatimBlockLineComment (::CppSharp::CppParser::AST::VerbatimBlockLineComment* native);
445
+ VerbatimBlockLineComment (::CppSharp::CppParser::AST::VerbatimBlockLineComment* native, bool ownNativeInstance);
435
446
static VerbatimBlockLineComment^ __CreateInstance(::System::IntPtr native);
436
447
VerbatimBlockLineComment ();
437
448
@@ -451,6 +462,7 @@ namespace CppSharp
451
462
public:
452
463
453
464
VerbatimBlockComment (::CppSharp::CppParser::AST::VerbatimBlockComment* native);
465
+ VerbatimBlockComment (::CppSharp::CppParser::AST::VerbatimBlockComment* native, bool ownNativeInstance);
454
466
static VerbatimBlockComment^ __CreateInstance(::System::IntPtr native);
455
467
VerbatimBlockComment ();
456
468
@@ -481,6 +493,7 @@ namespace CppSharp
481
493
public:
482
494
483
495
VerbatimLineComment (::CppSharp::CppParser::AST::VerbatimLineComment* native);
496
+ VerbatimLineComment (::CppSharp::CppParser::AST::VerbatimLineComment* native, bool ownNativeInstance);
484
497
static VerbatimLineComment^ __CreateInstance(::System::IntPtr native);
485
498
VerbatimLineComment ();
486
499
@@ -499,7 +512,7 @@ namespace CppSharp
499
512
{
500
513
public:
501
514
502
- enum struct RenderKind
515
+ enum class RenderKind
503
516
{
504
517
RenderNormal = 0 ,
505
518
RenderBold = 1 ,
@@ -519,6 +532,7 @@ namespace CppSharp
519
532
}
520
533
521
534
Argument (::CppSharp::CppParser::AST::InlineCommandComment::Argument* native);
535
+ Argument (::CppSharp::CppParser::AST::InlineCommandComment::Argument* native, bool ownNativeInstance);
522
536
static Argument^ __CreateInstance(::System::IntPtr native);
523
537
Argument ();
524
538
@@ -537,6 +551,7 @@ namespace CppSharp
537
551
};
538
552
539
553
InlineCommandComment (::CppSharp::CppParser::AST::InlineCommandComment* native);
554
+ InlineCommandComment (::CppSharp::CppParser::AST::InlineCommandComment* native, bool ownNativeInstance);
540
555
static InlineCommandComment^ __CreateInstance(::System::IntPtr native);
541
556
InlineCommandComment ();
542
557
@@ -579,6 +594,7 @@ namespace CppSharp
579
594
public:
580
595
581
596
HTMLTagComment (::CppSharp::CppParser::AST::HTMLTagComment* native);
597
+ HTMLTagComment (::CppSharp::CppParser::AST::HTMLTagComment* native, bool ownNativeInstance);
582
598
static HTMLTagComment^ __CreateInstance(::System::IntPtr native);
583
599
HTMLTagComment ();
584
600
@@ -607,6 +623,7 @@ namespace CppSharp
607
623
}
608
624
609
625
Attribute (::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native);
626
+ Attribute (::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native, bool ownNativeInstance);
610
627
static Attribute^ __CreateInstance(::System::IntPtr native);
611
628
Attribute ();
612
629
@@ -631,6 +648,7 @@ namespace CppSharp
631
648
};
632
649
633
650
HTMLStartTagComment (::CppSharp::CppParser::AST::HTMLStartTagComment* native);
651
+ HTMLStartTagComment (::CppSharp::CppParser::AST::HTMLStartTagComment* native, bool ownNativeInstance);
634
652
static HTMLStartTagComment^ __CreateInstance(::System::IntPtr native);
635
653
HTMLStartTagComment ();
636
654
@@ -667,6 +685,7 @@ namespace CppSharp
667
685
public:
668
686
669
687
HTMLEndTagComment (::CppSharp::CppParser::AST::HTMLEndTagComment* native);
688
+ HTMLEndTagComment (::CppSharp::CppParser::AST::HTMLEndTagComment* native, bool ownNativeInstance);
670
689
static HTMLEndTagComment^ __CreateInstance(::System::IntPtr native);
671
690
HTMLEndTagComment ();
672
691
@@ -686,6 +705,7 @@ namespace CppSharp
686
705
public:
687
706
688
707
TextComment (::CppSharp::CppParser::AST::TextComment* native);
708
+ TextComment (::CppSharp::CppParser::AST::TextComment* native, bool ownNativeInstance);
689
709
static TextComment^ __CreateInstance(::System::IntPtr native);
690
710
TextComment ();
691
711
@@ -712,6 +732,7 @@ namespace CppSharp
712
732
}
713
733
714
734
RawComment (::CppSharp::CppParser::AST::RawComment* native);
735
+ RawComment (::CppSharp::CppParser::AST::RawComment* native, bool ownNativeInstance);
715
736
static RawComment^ __CreateInstance(::System::IntPtr native);
716
737
RawComment ();
717
738
0 commit comments