summaryrefslogtreecommitdiff
path: root/src/charset/codecs/codec_impl.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-12-14 23:14:09 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-12-14 23:14:09 +0000
commit8e48b931091cbc99abeffacc7af80f363495ec23 (patch)
tree8aec6c47ec54e425884f646b08a9e28b216b3ebe /src/charset/codecs/codec_impl.h
parenta4e3ccd6abb97d05121635112bdca44fc0e440b0 (diff)
downloadlibparserutils-8e48b931091cbc99abeffacc7af80f363495ec23.tar.gz
libparserutils-8e48b931091cbc99abeffacc7af80f363495ec23.tar.bz2
Remove client allocation function.
Diffstat (limited to 'src/charset/codecs/codec_impl.h')
-rw-r--r--src/charset/codecs/codec_impl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/charset/codecs/codec_impl.h b/src/charset/codecs/codec_impl.h
index 09f622c..a14a3f6 100644
--- a/src/charset/codecs/codec_impl.h
+++ b/src/charset/codecs/codec_impl.h
@@ -21,9 +21,6 @@ struct parserutils_charset_codec {
parserutils_charset_codec_errormode errormode; /**< error mode */
- parserutils_alloc alloc; /**< allocation function */
- void *alloc_pw; /**< private word */
-
struct {
parserutils_error (*destroy)(parserutils_charset_codec *codec);
parserutils_error (*encode)(parserutils_charset_codec *codec,
@@ -42,7 +39,6 @@ struct parserutils_charset_codec {
typedef struct parserutils_charset_handler {
bool (*handles_charset)(const char *charset);
parserutils_error (*create)(const char *charset,
- parserutils_alloc alloc, void *pw,
parserutils_charset_codec **codec);
} parserutils_charset_handler;