view src/libical-test.c @ 3256:7fb479d0241c

Update build tools for native mingw * src/build-m4.mk: do nothing for native mingw build * Makefile.in: - add bison, m4 as natve mingw, and python as jit build requirements. - remove build-bison as a mingw build dependancy * index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 26 Sep 2013 21:18:39 -0400
parents 14b3f5ea78ae
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <stdio.h>
#include <libical/ical.h>

int main(int argc, char *argv[])
{
    icalvalue *v;
    char *str;
    (void)argc;
    (void)argv;

    v = icalvalue_new_caladdress("cap://value/1");
    str = icalvalue_as_ical_string_r(v);
    printf("String: %s\n", str);

    return 0;
}