|
@@ -37,7 +37,7 @@ typedef struct graph_iter_t LSUP_GraphIterator;
|
|
* @return New graph, or NULL on error. Must be freed with #LSUP_graph_free().
|
|
* @return New graph, or NULL on error. Must be freed with #LSUP_graph_free().
|
|
*/
|
|
*/
|
|
LSUP_Graph *
|
|
LSUP_Graph *
|
|
-LSUP_graph_new (LSUP_Store *store, LSUP_Term *uri, LSUP_NSMap *nsm);
|
|
|
|
|
|
+LSUP_graph_new (LSUP_Store *store, const LSUP_Term *uri, LSUP_NSMap *nsm);
|
|
|
|
|
|
|
|
|
|
/** @brief Create a temp graph from stored triples.
|
|
/** @brief Create a temp graph from stored triples.
|
|
@@ -57,7 +57,8 @@ LSUP_graph_new (LSUP_Store *store, LSUP_Term *uri, LSUP_NSMap *nsm);
|
|
* context URI was found, NULL is returned.
|
|
* context URI was found, NULL is returned.
|
|
*/
|
|
*/
|
|
LSUP_Graph *
|
|
LSUP_Graph *
|
|
-LSUP_graph_get_txn (void *txn, LSUP_Store *store, LSUP_Term *uri, size_t *ct);
|
|
|
|
|
|
+LSUP_graph_get_txn (
|
|
|
|
+ void *txn, LSUP_Store *store, const LSUP_Term *uri, size_t *ct);
|
|
|
|
|
|
|
|
|
|
/// Non-transactional version of #LSUP_graph_get_txn().
|
|
/// Non-transactional version of #LSUP_graph_get_txn().
|