add default values as param to property_create funcs

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2024-01-15 03:37:26 +01:00 committed by Folling
parent 7eac0f3b73
commit ced123b628
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
8 changed files with 24 additions and 8 deletions

View file

@ -24,12 +24,15 @@ struct IkarusTextProperty;
/// \param property_source The property source to create the property for.
/// \pre \li Must not be null.
/// \pre \li Must exist.
/// \param default_value The default value for the property.
/// \pre \li Must not be null.
/// \param error_out \see errors.h
/// \return The created property or null if an error occurs.
IKA_API IkarusTextProperty * ikarus_text_property_create(
struct IkarusProject * project,
char const * name,
struct IkarusPropertySource * property_source,
struct IkarusTextValue* default_value,
IkarusErrorData * error_out
);