Mercurial > mxe-octave
view src/libidn-test.c @ 4028:8803dfa40236
nsis installer: set directory to userprofile on startof octave from installer (Bug #45899)
* installer-files/octave-firsttime.vbs: new file
* binary-dist-rules.mk: copy octave-firsttime.vbs to disy folder
* dist-files.mk: add installer-files/octave-firsttime.vbs
* makeinst-script.sh: install and then run octave-firsttime.vbs if the run checkbox is selected at end of install.
author | John Donoghue |
---|---|
date | Wed, 16 Sep 2015 07:51:27 -0400 |
parents | 99516e73b368 |
children |
line wrap: on
line source
/* * This file is part of MXE. * See index.html for further information. */ #include <stdlib.h> #include <idna.h> int main(int argc, char *argv[]) { char *hostname_ascii; (void)argc; (void)argv; if (idna_to_ascii_lz("www.google.com", &hostname_ascii, 0) == IDNA_SUCCESS) { free(hostname_ascii); } return 0; }