diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_idprop.h')
-rw-r--r-- | source/blender/blenkernel/BKE_idprop.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_idprop.h b/source/blender/blenkernel/BKE_idprop.h index 48a5db93504..8a2cdd7b37c 100644 --- a/source/blender/blenkernel/BKE_idprop.h +++ b/source/blender/blenkernel/BKE_idprop.h @@ -145,8 +145,13 @@ void IDP_RelinkProperty(struct IDProperty *prop); # define IDP_Id(prop) ((ID *) (prop)->data.pointer) #endif -/* for printout/logging only */ -char *IDP_reprN(const struct IDProperty *prop); +/* Format IDProperty as strings */ +char *IDP_reprN( + const struct IDProperty *prop, uint *r_len); +void IDP_repr_fn( + const IDProperty *prop, + void (*str_append_fn)(void *user_data, const char *str, uint str_len), + void *user_data); void IDP_print(const struct IDProperty *prop); #endif /* __BKE_IDPROP_H__ */ |