Changeset 4bbcba3 for lib/xmltree.c


Ignore:
Timestamp:
2008-02-16T22:40:38Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e6648bf
Parents:
add23a2
Message:

Moved xmltree handlers initialization to xt_new().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/xmltree.c

    radd23a2 r4bbcba3  
    111111};
    112112
    113 struct xt_parser *xt_new( gpointer data )
     113struct xt_parser *xt_new( const struct xt_handler_entry *handlers, gpointer data )
    114114{
    115115        struct xt_parser *xt = g_new0( struct xt_parser, 1 );
    116116       
    117117        xt->data = data;
     118        xt->handlers = handlers;
    118119        xt_reset( xt );
    119120       
Note: See TracChangeset for help on using the changeset viewer.