typedef std::function<ActorCode(std::vector<std::string> args)> ActorCodeFactory;
XBT_PUBLIC void register_function(std::string name, ActorCodeFactory factory);
typedef std::function<ActorCode(std::vector<std::string> args)> ActorCodeFactory;
XBT_PUBLIC void register_function(std::string name, ActorCodeFactory factory);