source: gaycko/trunk/src/gaycko.cpp @ 4726

Last change on this file since 4726 was 4726, checked in by Jean-Yves Lamoureux, 10 years ago
  • gaycko.c is now gaycko.cpp
File size: 454 bytes
Line 
1extern "C" {
2#include "gaycko.h"
3#include "io/io.h"
4#include "parsing/parse.h"
5#include "js/glue.h"
6}
7
8int main(int argc, char *argv[]) {
9
10        printf("Opening %s\n", argv[1]);
11
12        gIO *stream = gaycko_open(argv[1]);
13        if(!stream) {
14                printf("Can't open %s\n", argv[1]);   
15                return -1;
16        }
17
18        //gDOM *dom = gaycko_parse(gaycko_get_data(stream), gaycko_get_size(stream));
19        //gaycko_close(stream);
20
21        fprintf(stderr, "Test : \n");
22        testV8();       
23        printf("Ok\n");
24
25}
26
27
Note: See TracBrowser for help on using the repository browser.