blob: d8c889115cfd73a386e54f122bcec35c6548c3be [file]
#ifndef Py_TOKENIZER_H
#define Py_TOKENIZER_H
#include "Python.h"
struct tok_state *_PyTokenizer_FromString(const char *, int, int);
struct tok_state *_PyTokenizer_FromUTF8(const char *, int, int);
struct tok_state *_PyTokenizer_FromReadline(PyObject *, const char *);
struct tok_state *_PyTokenizer_FromFile(FILE *, const char*,
const char *, const char *);
/* Return the declared encoding in PyMem-allocated storage, or NULL.
An exception is set on error. */
char *_PyTokenizer_FindEncodingFilename(int, PyObject *);
#define tok_dump _Py_tok_dump
#endif /* !Py_TOKENIZER_H */