Add ArrayIndexType to CxCli.h.
GitOrigin-RevId: 9d2a7294974a733c0acd82f6ae769ccf932723d6
This commit is contained in:
parent
57a7d7506f
commit
06cf561b88
@ -31,6 +31,7 @@ using Platform::Collections::Vector;
|
|||||||
#define ArraySize(arr) ((arr)->Size)
|
#define ArraySize(arr) ((arr)->Size)
|
||||||
#define ArrayGet(arr, index) ((arr)->GetAt(index))
|
#define ArrayGet(arr, index) ((arr)->GetAt(index))
|
||||||
#define ArraySet(arr, index, value) ((arr)->SetAt((index), (value)))
|
#define ArraySet(arr, index, value) ((arr)->SetAt((index), (value)))
|
||||||
|
#define ArrayIndexType unsigned
|
||||||
|
|
||||||
using Platform::String;
|
using Platform::String;
|
||||||
|
|
||||||
@ -95,6 +96,7 @@ using float64 = double;
|
|||||||
#define ArraySize(arr) ((arr)->Length)
|
#define ArraySize(arr) ((arr)->Length)
|
||||||
#define ArrayGet(arr, index) ((arr)[index])
|
#define ArrayGet(arr, index) ((arr)[index])
|
||||||
#define ArraySet(arr, index, value) ((arr)[index] = (value))
|
#define ArraySet(arr, index, value) ((arr)[index] = (value))
|
||||||
|
#define ArrayIndexType int
|
||||||
|
|
||||||
using System::String;
|
using System::String;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user