add default values as param to property_create funcs
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
8f82b0e3da
commit
70fca82425
8 changed files with 24 additions and 8 deletions
|
|
@ -15,9 +15,10 @@ IkarusToggleProperty * ikarus_toggle_property_create(
|
|||
struct IkarusProject * project,
|
||||
char const * name,
|
||||
struct IkarusPropertySource * property_source,
|
||||
struct IkarusToggleValue * default_value,
|
||||
IkarusErrorData * error_out
|
||||
) {
|
||||
return ikarus::util::create_property<IkarusToggleProperty>(project, name, property_source, error_out);
|
||||
return ikarus::util::create_property<IkarusToggleProperty>(project, name, property_source, default_value, error_out);
|
||||
}
|
||||
|
||||
IkarusToggleValue * ikarus_toggle_property_get_default_value(struct IkarusToggleProperty * property, IkarusErrorData * error_out) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue