#include "aftypes.h" #include #include typedef AFPData(*AFPFunction)(vector); extern map af_functions; void af_registerfunction( string name, AFPFunction method ); void registerBuiltinFunctions(); AFPData callFunction( string name, vector args ); bool isFunction( string name ); map getEquivSet(); int next_utf8_char(std::string::const_iterator & p, std::string::const_iterator & charStart, std::string::const_iterator end); string codepointToUtf8( int codepoint ); string confusable_character_normalise( string orig );