]> git.street.me.uk Git - andy/viking.git/blame - test/gpx2gpx.c
Add kdtree C code version 0.5.6 from https://code.google.com/p/kdtree/
[andy/viking.git] / test / gpx2gpx.c
CommitLineData
f9ab07c8
GB
1#include <stdio.h>
2#include <gpx.h>
af806756 3#include <viklayer.h>
f9ab07c8
GB
4
5int main(int argc, char *argv[])
6{
0034ee33 7 g_type_init ();
2b49017b 8 VikLayer *vl = vik_layer_create (VIK_LAYER_TRW, NULL, FALSE);
af806756 9 VikTrwLayer *trw = VIK_TRW_LAYER (vl);
f9ab07c8 10 a_gpx_read_file(trw, stdin);
208d2084 11 a_gpx_write_file(trw, stdout, NULL);
af806756
RN
12 // NB no layer_free functions directly visible anymore
13 // automatically called by layers_panel_finalize cleanup in full Viking program
0034ee33 14 return 0;
f9ab07c8 15}