File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
source/MetadataProcessor.Core/Utility Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- //
1+ //
22// Copyright (c) 2019 The nanoFramework project contributors
33// Original work from Oleg Rakhmatulin.
44// See LICENSE file in the project root for full license information.
@@ -31,6 +31,16 @@ internal enum nanoCLR_DataType : byte
3131 DATATYPE_TIMESPAN , // 8 bytes // Shortcut for System.TimeSpan
3232 DATATYPE_STRING ,
3333
34+ // This is the last type that doesn't need to be relocated
35+ DATATYPE_LAST_NONPOINTER = DATATYPE_TIMESPAN ,
36+ // All the above types don't need fix-up on assignment
37+ DATATYPE_LAST_PRIMITIVE_TO_PRESERVE = DATATYPE_R8 ,
38+ // All the above types can be marshaled by assignment.
39+ DATATYPE_LAST_PRIMITIVE_TO_MARSHAL = DATATYPE_TIMESPAN ,
40+
41+ // All the above types don't need fix-up on assignment.
42+ DATATYPE_LAST_PRIMITIVE = DATATYPE_STRING ,
43+
3444 DATATYPE_OBJECT , // Shortcut for System.Object
3545 DATATYPE_CLASS , // CLASS <class Token>
3646 DATATYPE_VALUETYPE , // VALUETYPE <class Token>
You can’t perform that action at this time.
0 commit comments