// See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ and the sibling file // utf8-decoder.h for details. // // This file decodes "generalized UTF-8", which is the same as UTF-8 except that // it allows surrogates: https://simonsapin.github.io/wtf-8/#generalized-utf8 #include <stdint.h> #ifndef __GENERALIZED_UTF8_DFA_DECODER_H #define __GENERALIZED_UTF8_DFA_DECODER_H struct GeneralizedUtf8DfaDecoder { … }; #endif // __GENERALIZED_UTF8_DFA_DECODER_H