Add warning to probably misunderstandable function

This commit is contained in:
Mario Hüttel 2019-03-12 19:02:34 +01:00
parent a237a89ecf
commit 2a204640bd

View File

@ -42,6 +42,7 @@
* *
* Like delete_layer_info_struct() but also frees layer_info::name * Like delete_layer_info_struct() but also frees layer_info::name
* @param info * @param info
* @warning This function must not be used if the layer_info::name field references the internal storage strings if e.g. an entry field
*/ */
static void delete_layer_info_with_name(struct layer_info *info) static void delete_layer_info_with_name(struct layer_info *info)
{ {