Changeset 4720 for gaycko


Ignore:
Timestamp:
Feb 1, 2011, 11:44:13 AM (9 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • parsing returns gDOM
Location:
gaycko/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gaycko/trunk/src/gaycko.c

    r4716 r4720  
    1111        }
    1212
    13         gaycko_parse(gaycko_get_data(stream), gaycko_get_size(stream));
     13        gDOM *dom = gaycko_parse(gaycko_get_data(stream), gaycko_get_size(stream));
     14        gaycko_close(stream);
    1415
    15         gaycko_close(stream);
     16
     17       
     18
    1619}
    1720
  • gaycko/trunk/src/parsing/parse.c

    r4719 r4720  
    22
    33
    4 void *gaycko_parse(char *data, unsigned int size) {
     4gDOM *gaycko_parse(char *data, unsigned int size) {
    55
    66        /* Clean up and repair bad HTML */
  • gaycko/trunk/src/parsing/parse.h

    r4717 r4720  
    2121#include "dom/dom.h"
    2222
    23 void *gaycko_parse(char *data, unsigned int size);
     23gDOM *gaycko_parse(char *data, unsigned int size);
    2424
    2525
Note: See TracChangeset for help on using the changeset viewer.