/srv/osrm/osrm-backend/third_party/protozero/include/protozero
NameSizeModeActions
basic_pbf_builder.hpp89370644editdlrm
basic_pbf_writer.hpp364850644editdlrm
buffer_fixed.hpp57980644editdlrm
buffer_string.hpp20710644editdlrm
buffer_tmpl.hpp34640644editdlrm
buffer_vector.hpp21740644editdlrm
byteswap.hpp29310644editdlrm
config.hpp12870644editdlrm
data_view.hpp58690644editdlrm
exception.hpp29740644editdlrm
iterators.hpp153560644editdlrm
pbf_builder.hpp8010644editdlrm
pbf_message.hpp57810644editdlrm
pbf_reader.hpp343140644editdlrm
pbf_writer.hpp27120644editdlrm
types.hpp18370644editdlrm
varint.hpp78220644editdlrm
version.hpp9190644editdlrm
Edit: /srv/osrm/osrm-backend/third_party/protozero/include/protozero/config.hpp (1287B)
#ifndef PROTOZERO_CONFIG_HPP #define PROTOZERO_CONFIG_HPP /***************************************************************************** protozero - Minimalistic protocol buffer decoder and encoder in C++. This file is from https://github.com/mapbox/protozero where you can find more documentation. *****************************************************************************/ #include /** * @file config.hpp * * @brief Contains macro checks for different configurations. */ #define PROTOZERO_LITTLE_ENDIAN 1234 #define PROTOZERO_BIG_ENDIAN 4321 // Find out which byte order the machine has. #if defined(__BYTE_ORDER) # if (__BYTE_ORDER == __LITTLE_ENDIAN) # define PROTOZERO_BYTE_ORDER PROTOZERO_LITTLE_ENDIAN # endif # if (__BYTE_ORDER == __BIG_ENDIAN) # define PROTOZERO_BYTE_ORDER PROTOZERO_BIG_ENDIAN # endif #else // This probably isn't a very good default, but might do until we figure // out something better. # define PROTOZERO_BYTE_ORDER PROTOZERO_LITTLE_ENDIAN #endif // Check whether __builtin_bswap is available #if defined(__GNUC__) || defined(__clang__) # define PROTOZERO_USE_BUILTIN_BSWAP #endif // Wrapper for assert() used for testing #ifndef protozero_assert # define protozero_assert(x) assert(x) #endif #endif // PROTOZERO_CONFIG_HPP