new primitives trie_get_first_entry/2 and trie_get_last_entry/2 in tries module

This commit is contained in:
Ricardo Rocha
2009-11-27 19:10:36 +00:00
parent 506da0b1bf
commit f01283bd28
4 changed files with 89 additions and 15 deletions

View File

@@ -110,7 +110,9 @@ inline YAP_Int trie_get_mode(void);
inline TrData trie_put_entry(TrEntry trie, YAP_Term entry);
inline TrData trie_check_entry(TrEntry trie, YAP_Term entry);
inline YAP_Term trie_get_entry(TrData data);
inline TrData trie_traverse_init(TrEntry trie);
inline TrData trie_get_first_entry(TrEntry trie);
inline TrData trie_get_last_entry(TrEntry trie);
inline TrData trie_traverse_init(TrEntry trie, TrData init_data);
inline TrData trie_traverse_cont(TrEntry trie);
inline void trie_remove_entry(TrData data);
inline void trie_remove_subtree(TrData data);