summaryrefslogtreecommitdiff
path: root/src/raptor_parse.c
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2010-05-02 22:34:16 -0700
committerDave Beckett <dave@dajobe.org>2010-05-02 22:34:16 -0700
commitbe500ca5095273a7ace8809f6c8ecb152783d351 (patch)
tree1cb1c5b884d12783ecd3daf8cce9b5b557f25fa1 /src/raptor_parse.c
parentb6a4b44770cc5a5ca5d5e6783737ebdc36ba41a1 (diff)
downloadraptor-be500ca5095273a7ace8809f6c8ecb152783d351.tar.gz
Renamed typedefs ending in _function to _handler.
Also changed parameter names and internal field names from foo_fn to foo_handler to match. (raptor_data_free_handler, raptor_data_context_free_handler, raptor_data_context_print_handler and raptor_data_context_print_handler): Signature of these typedefs were changed to match the other handlers to became *pointers* to functions so e.g. a call with e.g. (raptor_data_context_free_handler*)blah becomes (raptor_data_context_free_handler)blah. raptor_data_compare_handler renamed from raptor_data_compare_function raptor_data_malloc_handler renamed from raptor_data_malloc_function raptor_data_free_handler renamed from raptor_data_free_function raptor_avltree_visit_handler renamed from raptor_avltree_visit_function Updated all definitions, fields and arguments to match.
Diffstat (limited to 'src/raptor_parse.c')
-rw-r--r--src/raptor_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raptor_parse.c b/src/raptor_parse.c
index d5c93f35..fd4ab0e3 100644
--- a/src/raptor_parse.c
+++ b/src/raptor_parse.c
@@ -80,7 +80,7 @@ raptor_parsers_init(raptor_world *world)
{
int rc = 0;
- world->parsers = raptor_new_sequence((raptor_data_free_handler*)raptor_free_parser_factory, NULL);
+ world->parsers = raptor_new_sequence((raptor_data_free_handler)raptor_free_parser_factory, NULL);
if(!world->parsers)
return 1;