Since C doesn't have namespaces, renamed result to parse_result.

This commit is contained in:
Meredith L. Patterson 2012-04-22 15:33:10 +01:00
parent b6c98d85f2
commit ab9d48b886
2 changed files with 6 additions and 6 deletions

View file

@ -29,12 +29,12 @@ const gchar* to_string(parse_state *ps) {
return g_strescape(ps->input, NULL);
}
const result* get_cached(parse_state *ps, const size_t pid); /* {
const parse_result* get_cached(parse_state *ps, const size_t pid); /* {
gpointer p = g_hash_table_lookup(ps->cache, &pid);
if (NULL != p)
}
*/
int put_cached(parse_state *ps, const size_t pid, result cached);
int put_cached(parse_state *ps, const size_t pid, parse_result cached);
parser *token(const uint8_t *s) { return NULL; }
parser *ch(const uint8_t c) { return NULL; }