(svn r28004) -Update from Eints:
[openttd.git] / src / script / squirrel_helper_type.hpp
blob946a59547a4a9d844e3142c0f8088ae2f236ad10
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
10 /** @file squirrel_helper_type.hpp Helper structs for converting Squirrel data structures to C++. */
12 #ifndef SQUIRREL_HELPER_TYPE_HPP
13 #define SQUIRREL_HELPER_TYPE_HPP
15 /** Definition of a simple array. */
16 struct Array {
17 int32 size; ///< The size of the array.
18 int32 array[]; ///< The data of the array.
21 #endif /* SQUIRREL_HELPER_TYPE_HPP */