aboutsummaryrefslogtreecommitdiff
path: root/deps/flac-1.3.2/src/share/utf8/iconvert.h
diff options
context:
space:
mode:
authorAutechre2021-03-16 14:45:41 +0100
committerGitHub2021-03-16 14:45:41 +0100
commit41ed0ee3ff0f83bf53b010e4d79ca1de5389e8f2 (patch)
tree3cf574af74146252926490c2816d95e34a602a3c /deps/flac-1.3.2/src/share/utf8/iconvert.h
parente3e1b865f7c06f57918b97f7293b5b2959fb7b7d (diff)
parent2ff0b5124f2e17a290121e1eeecf45db1d9e2c85 (diff)
downloadpcsx_rearmed-41ed0ee3ff0f83bf53b010e4d79ca1de5389e8f2.tar.gz
pcsx_rearmed-41ed0ee3ff0f83bf53b010e4d79ca1de5389e8f2.tar.bz2
pcsx_rearmed-41ed0ee3ff0f83bf53b010e4d79ca1de5389e8f2.zip
Merge pull request #506 from jdgleaver/libchdr-update
Update libchdr (replace libflac with dr_flac)
Diffstat (limited to 'deps/flac-1.3.2/src/share/utf8/iconvert.h')
-rw-r--r--deps/flac-1.3.2/src/share/utf8/iconvert.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/deps/flac-1.3.2/src/share/utf8/iconvert.h b/deps/flac-1.3.2/src/share/utf8/iconvert.h
deleted file mode 100644
index a2d75a2..0000000
--- a/deps/flac-1.3.2/src/share/utf8/iconvert.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2001 Edmund Grimley Evans <edmundo@rano.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#ifdef HAVE_ICONV
-
-/*
- * Convert data from one encoding to another. Return:
- *
- * -2 : memory allocation failed
- * -1 : unknown encoding
- * 0 : data was converted exactly
- * 1 : data was converted inexactly
- * 2 : data was invalid (but still converted)
- *
- * We convert in two steps, via UTF-8, as this is the only
- * reliable way of distinguishing between invalid input
- * and valid input which iconv refuses to transliterate.
- * We convert from UTF-8 twice, because we have no way of
- * knowing whether the conversion was exact if iconv returns
- * E2BIG (due to a bug in the specification of iconv).
- * An alternative approach is to assume that the output of
- * iconv is never more than 4 times as long as the input,
- * but I prefer to avoid that assumption if possible.
- */
-
-int iconvert(const char *fromcode, const char *tocode,
- const char *from, size_t fromlen,
- char **to, size_t *tolen) ;
-
-#endif /* HAVE_ICONV */