/** GDevelop - Function Extension Copyright (c) 2008-2016 Florian Rival (Florian.Rival@gmail.com) This project is released under the MIT License. */ #ifndef FUNCTIONTOOLS_H #define FUNCTIONTOOLS_H #include #include #include "GDCpp/Runtime/String.h" namespace GDpriv { namespace FunctionTools { /** * \brief Return list[index] unless index is out of range. * \return list[index] or empty string. */ gd::String GD_EXTENSION_API GetSafelyStringFromVector(std::vector & list, std::size_t index ); } } #endif // FUNCTIONTOOLS_H