Rewrite the hed_expr API
commita44ca504d2b6dfa9edc75c1ec49850af193ba86d
authorPetr Tesarik <petr@tesarici.cz>
Thu, 11 Oct 2012 16:12:09 +0000 (11 18:12 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Thu, 11 Oct 2012 16:12:09 +0000 (11 18:12 +0200)
tree28ede066ba5b7bc40f97064da5a160f5d21a42d6
parent0b3003d801caed82d2abc270eb76bba4d6fe2003
Rewrite the hed_expr API

Rename hed_expr_compile to hed_expr_new and pass the callback functions
to it. That way, it looks more like an encapsulated object which always
knows how to handle itself.
libhed/expr.c
libhed/expr.h
libhed/file.c
src/ui/fileshow.c