view src/libical-test.c @ 4608:dac40a0ff814

nsis: update for 64bit compile * src/nsis.mk: use sed to change default target stype in makensis, set target options to amd64 in 64bit mode, dont skip system plugin * tools/makeinst-script.sh.in: include MUI2.nsh
author John Donoghue
date Wed, 28 Feb 2018 11:01:19 -0500
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;
}