Skip to content
Snippets Groups Projects

API: Introduce value and datatype structs to Extern C

Merged Florian Spreckelsen requested to merge f-value-data-structs into dev
All threads resolved!
2 files
+ 35
1
Compare changes
  • Side-by-side
  • Inline

Files

+ 7
1
@@ -419,6 +419,12 @@ int caosdb_entity_message_get_code(caosdb_entity_message *message, int *out);
int caosdb_entity_message_get_description(caosdb_entity_message *message, char **out);
// TODO(fspreck) getters for value and datatypes
int caosdb_entity_value_is_null(caosdb_entity_value *value, bool *out);
int caosdb_entity_value_is_string(caosdb_entity_value *value, bool *out);
int caosdb_entity_value_is_double(caosdb_entity_value *value, bool *out);
int caosdb_entity_value_is_integer(caosdb_entity_value *value, bool *out);
int caosdb_entity_value_is_bool(caosdb_entity_value *value, bool *out);
int caosdb_entity_value_is_list(caosdb_entity_value *value, bool *out);
// CONSTRUCTORS AND DESTRUCTORS
int caosdb_entity_create_entity(caosdb_entity_entity *out);
@@ -478,7 +484,7 @@ int caosdb_entity_property_set_value(caosdb_entity_property *property, caosdb_en
int caosdb_entity_parent_set_id(caosdb_entity_parent *parent, const char *id);
int caosdb_entity_parent_set_name(caosdb_entity_parent *parent, const char *name);
// TODO(fspreck) setters for value and datatype
// TODO(fspreck) setters for datatype
#ifdef __cplusplus
}
Loading