Changeset 65:1f500251ba73 in finroc_plugins_network_transport


Ignore:
Timestamp:
05.04.2020 06:45:50 (11 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
66:e2c5df73387b, 67:1ea49a34f3b6
Phase:
public
Message:

Adapts to changes in rrlib_rtti_conversion (transfers flags whether conversion operations also apply if their source and/or destination types are underlying types of the actual types)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • runtime_info/tRemoteTypeConversion.h

    r34 r65  
    9797    } 
    9898 
    99     enum { HAS_PARAMETER = 1, NOT_USUALLY_COMBINED_WITH = 2 }; 
    100     uint8_t flags = (operation->Parameter() ? HAS_PARAMETER : 0) | (operation->GetNotUsuallyCombinedWithHandle() != 0xFFFF ? NOT_USUALLY_COMBINED_WITH : 0); 
     99    enum { HAS_PARAMETER = 1, NOT_USUALLY_COMBINED_WITH = 2, SOURCE_TYPES_APPLY_TO_UNDERLYING_TYPES = 4, DESTINATION_TYPES_APPLY_TO_UNDERLYING_TYPES = 8 }; 
     100    uint8_t flags = (operation->Parameter() ? HAS_PARAMETER : 0) | (operation->GetNotUsuallyCombinedWithHandle() != 0xFFFF ? NOT_USUALLY_COMBINED_WITH : 0) | 
     101                    (operation->SupportedSourceTypes().applies_to_underlying_types ? SOURCE_TYPES_APPLY_TO_UNDERLYING_TYPES : 0) | (operation->SupportedDestinationTypes().applies_to_underlying_types ? DESTINATION_TYPES_APPLY_TO_UNDERLYING_TYPES : 0); 
    101102    stream.WriteByte(flags); 
    102103    if (operation->Parameter()) 
Note: See TracChangeset for help on using the changeset viewer.