set FEATURE add data/schema node pointer
@@ -47,8 +47,12 @@ struct ly_set
{
uint32_t size; /**< allocated size of the set array */
uint32_t count; /**< number of elements in (used size of) the set array */
+ union {
+ struct lyd_node **dnodes; /**< set array of data nodes */
+ struct lysc_node **snodes; /**< set array of schema nodes */
void **objs; /**< set array of generic object pointers */
};
+};
/**
* @brief Option for ly_set_add() to allow duplicities in the ly_set structure so the
