|
@@ -367,6 +367,9 @@ LSUP_iriref_frag (const LSUP_Term *iri);
|
|
*/
|
|
*/
|
|
|
|
|
|
/** @brief Create a new triple from three terms.
|
|
/** @brief Create a new triple from three terms.
|
|
|
|
+ *
|
|
|
|
+ * Terms are NOT copied. To free them with the triple, use #LSUP_triple_free().
|
|
|
|
+ * To only free the triple, use free().
|
|
*
|
|
*
|
|
* TODO Term types are not validated at the moment.
|
|
* TODO Term types are not validated at the moment.
|
|
*
|
|
*
|
|
@@ -396,8 +399,8 @@ LSUP_triple_serialize (const LSUP_Triple *spo);
|
|
|
|
|
|
/** @brief Initialize internal term pointers in a heap-allocated triple.
|
|
/** @brief Initialize internal term pointers in a heap-allocated triple.
|
|
*
|
|
*
|
|
- * NOTE: the term structures are not copied. If the triple is freed with
|
|
|
|
- * #LSUP_triple_free(), the originally provided terms are freed too.
|
|
|
|
|
|
+ * Terms are NOT copied. To free them with the triple, use #LSUP_triple_free().
|
|
|
|
+ * To only free the triple, use free().
|
|
*
|
|
*
|
|
* @param spo[in] Triple pointer to initialize.
|
|
* @param spo[in] Triple pointer to initialize.
|
|
*/
|
|
*/
|