Selaa lähdekoodia

Remove LSUP_graph_remove_ctx.

Stefano Cossu 2 vuotta sitten
vanhempi
commit
fe69546d51
2 muutettua tiedostoa jossa 0 lisäystä ja 26 poistoa
  1. 0 14
      include/graph.h
  2. 0 12
      src/graph.c

+ 0 - 14
include/graph.h

@@ -273,20 +273,6 @@ LSUP_graph_remove (
         const LSUP_Term *o, size_t *ct);
 
 
-/** @brief Remove a whole graph from a context-aware store.
- *
- * @param[in] uri Graph (context) to remove.
- *
- * @return LSUP_OK if the graph was removed; LSUP_NOACTION if no graph was
- *  found with the given URI; LSUP_VALU_ERR if the graph back end is a non-
- *  permanent or non-context aware store.
- */
-/*
-LSUP_rc
-LSUP_graph_remove_ctx (LSUP_Graph *gr);
-*/
-
-
 /** Look up triples by a matching pattern and yield an iterator.
  *
  * @param gr[in] Graph to look up.

+ 0 - 12
src/graph.c

@@ -367,18 +367,6 @@ LSUP_graph_remove (
 }
 
 
-/* TODO Useless? Remove?
-LSUP_rc
-LSUP_graph_remove_ctx (LSUP_Graph *gr)
-{
-    LSUP_rc rc;
-
-    // TODO replace this test with a feature test.
-    if (gr->store_type != LSUP_STORE_MDB) return LSUP_VALUE_ERR;
-}
-*/
-
-
 GraphIterator *
 LSUP_graph_lookup (const Graph *gr, const LSUP_Term *s, const LSUP_Term *p,
         const LSUP_Term *o, size_t *ct)