Skip to content
Snippets Groups Projects
Commit 4ce64b16 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

STY: Formatting.

parent bf3f8314
No related branches found
No related tags found
1 merge request!19Switch integer values to int32
Pipeline #12633 passed
Pipeline: caosdb-cppinttest

#12635

    This commit is part of merge request !19. Comments created here will be created in the context of that merge request.
    ......@@ -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,
    ......
    ......@@ -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);
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment