diff --git a/include/ccaosdb.h b/include/ccaosdb.h index c35cb6ab8b207b563944533d3b73cf9c04c71ec3..cfe5cf446511d7272554cf4ac7be958bb0a55c11 100644 --- a/include/ccaosdb.h +++ b/include/ccaosdb.h @@ -20,7 +20,7 @@ * */ -#include <cstdint> // for uint32_t +#include <cstdint> // for uint32_t #ifdef __cplusplus extern "C" { @@ -462,8 +462,8 @@ int caosdb_entity_property_set_int_value(caosdb_entity_property *property, const int caosdb_entity_property_set_double_value(caosdb_entity_property *property, const double value); int caosdb_entity_property_set_boolean_value(caosdb_entity_property *property, const bool value); int caosdb_entity_property_set_string_value(caosdb_entity_property *property, const char *value); -int caosdb_entity_property_set_int_list_value(caosdb_entity_property *property, const int32_t *value, - const int length); +int caosdb_entity_property_set_int_list_value(caosdb_entity_property *property, + const int32_t *value, const int length); int caosdb_entity_property_set_double_list_value(caosdb_entity_property *property, const double *value, const int length); int caosdb_entity_property_set_boolean_list_value(caosdb_entity_property *property, diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp index 7ab8b9adca21335e7d408b097e249c5826149f35..ed7ede3b5a59fb1bb4fb4138f4aa89296bc57b43 100644 --- a/src/caosdb/entity.cpp +++ b/src/caosdb/entity.cpp @@ -20,13 +20,13 @@ * */ #include "caosdb/entity.h" -#include "caosdb/data_type.h" // for DataType -#include "caosdb/entity/v1alpha1/main.pb.h" // for Messages +#include "caosdb/data_type.h" // for DataType +#include "caosdb/entity/v1alpha1/main.pb.h" // for Messages #include "caosdb/exceptions.h" -#include "caosdb/logging.h" // for CAOSDB_LOG_TRACE -#include "caosdb/protobuf_helper.h" // for get_arena +#include "caosdb/logging.h" // for CAOSDB_LOG_TRACE +#include "caosdb/protobuf_helper.h" // for get_arena #include "caosdb/utility.h" -#include "caosdb/value.h" // for Value +#include "caosdb/value.h" // for Value #include <boost/algorithm/string.hpp> #include <google/protobuf/arena.h> // for Arena #include <google/protobuf/generated_message_util.h> // for Arena::Create... diff --git a/src/ccaosdb.cpp b/src/ccaosdb.cpp index 5e20bf76105ed530e75b8bd3b06943e6aea327f6..b4c7ea1aac3aae3fd5ac539815883d0ea905d56f 100644 --- a/src/ccaosdb.cpp +++ b/src/ccaosdb.cpp @@ -640,7 +640,9 @@ ERROR_RETURN_CODE(GENERIC_ERROR, return 0; }) ERROR_RETURN_CODE(GENERIC_ERROR, - int caosdb_entity_entity_get_int_value(caosdb_entity_entity *entity, int32_t *out), { + int caosdb_entity_entity_get_int_value(caosdb_entity_entity *entity, + int32_t *out), + { auto *wrapped_entity = WRAPPED_ENTITY_CAST(entity); *out = wrapped_entity->GetValue().AsInteger(); return 0; @@ -1077,7 +1079,8 @@ ERROR_RETURN_CODE(GENERIC_ERROR, ERROR_RETURN_CODE(GENERIC_ERROR, int caosdb_entity_entity_set_int_list_value(caosdb_entity_entity *entity, - const int32_t *value, const int length), + const int32_t *value, + const int length), { auto *wrapped_entity = static_cast<caosdb::entity::Entity *>(entity->wrapped_entity);