21 lines
682 B
C++
21 lines
682 B
C++
#include "values/entity_property_value.hpp"
|
|
|
|
#include <errors.hpp>
|
|
|
|
IkarusEntity const * ikarus_entity_property_value_get_entity(IkarusEntityPropertyValue const * value, IkarusErrorData * error_out) {
|
|
IKARUS_FAIL_IF_NULL(value, nullptr);
|
|
|
|
return value->entity;
|
|
}
|
|
|
|
IkarusProperty const * ikarus_entity_property_value_get_property(IkarusEntityPropertyValue const * value, IkarusErrorData * error_out) {
|
|
IKARUS_FAIL_IF_NULL(value, nullptr);
|
|
|
|
return value->property;
|
|
}
|
|
|
|
IkarusValue const * ikarus_entity_property_value_get_value(IkarusEntityPropertyValue const * value, IkarusErrorData * error_out) {
|
|
IKARUS_FAIL_IF_NULL(value, nullptr);
|
|
|
|
return value->value;
|
|
}
|