Add ToArray test for C# std::vector wrapper
This commit is contained in:
parent
6227013da4
commit
368cd3b52c
3 changed files with 15 additions and 1 deletions
|
|
@ -115,7 +115,7 @@
|
|||
}
|
||||
|
||||
public $typemap(cstype, CTYPE)[] ToArray() {
|
||||
$typemap(cstype, CTYPE)[] array = new $typemap(cstype, CTYPE)[Count];
|
||||
$typemap(cstype, CTYPE)[] array = new $typemap(cstype, CTYPE)[this.Count];
|
||||
this.CopyTo(array);
|
||||
return array;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue