X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=tests%2Fidn%2Fidn.psi;fp=tests%2Fidn%2Fidn.psi;h=845335bf6af23e42e5e39a59690ba85520209d96;hp=1583680060fd7bf54d1987ee1a2b4ae0c3ea6368;hb=207ff7bc85e967235f0ad1ffbf47c0f85f375063;hpb=947547f09eba04a52271444f26c6416437cf2a34 diff --git a/tests/idn/idn.psi b/tests/idn/idn.psi index 1583680..845335b 100644 --- a/tests/idn/idn.psi +++ b/tests/idn/idn.psi @@ -20,7 +20,7 @@ const int \IDNA_ALLOW_UNASSIGNED = 1; const int \IDNA_USE_STD3_ASCII_RULES = 2; -default int idna_to_ascii_8z(sint8 *host, sint8 **buffer, int flags); +default int idna_to_ascii_8z(char *host, char **buffer, int flags); function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int { let buffer = &NULL; let host = strval($host); @@ -29,7 +29,7 @@ function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int return to_int(idna_to_ascii_8z); free *buffer; } -default sint8 *idna_strerror(int rc); +default char *idna_strerror(int rc); function idn\strerror(int $rc) : string { return to_string(idna_strerror); let rc = intval($rc);