mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 02:25:52 -04:00
64e6860718
Updated copyrights.
30 lines
533 B
C++
30 lines
533 B
C++
/**
|
|
|
|
GDevelop - Function Extension
|
|
Copyright (c) 2008-2015 Florian Rival (Florian.Rival@gmail.com)
|
|
This project is released under the MIT License.
|
|
*/
|
|
|
|
#ifndef FUNCTIONTOOLS_H
|
|
#define FUNCTIONTOOLS_H
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace GDpriv
|
|
{
|
|
namespace FunctionTools
|
|
{
|
|
|
|
/**
|
|
* \brief Return list[index] unless index is out of range.
|
|
* \return list[index] or empty string.
|
|
*/
|
|
std::string GD_EXTENSION_API GetSafelyStringFromVector(std::vector<std::string> & list, unsigned int index );
|
|
|
|
}
|
|
}
|
|
|
|
|
|
#endif // FUNCTIONTOOLS_H
|
|
|