comparison src/ai/api/ai_station.hpp @ 10790:f2ebdd15d1f0 draft

(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *'
author truebrain <truebrain@openttd.org>
date Sat, 17 Jan 2009 15:31:30 +0000
parents 7edccbb67398
children 36da98b3adf7
comparison
equal deleted inserted replaced
10789:64f89a0c2bdc 10790:f2ebdd15d1f0
68 * Get the name of a station. 68 * Get the name of a station.
69 * @param station_id The station to get the name of. 69 * @param station_id The station to get the name of.
70 * @pre IsValidStation(station_id). 70 * @pre IsValidStation(station_id).
71 * @return The name of the station. 71 * @return The name of the station.
72 */ 72 */
73 static const char *GetName(StationID station_id); 73 static char *GetName(StationID station_id);
74 74
75 /** 75 /**
76 * Set the name this station. 76 * Set the name this station.
77 * @param station_id The station to set the name of. 77 * @param station_id The station to set the name of.
78 * @param name The new name of the station. 78 * @param name The new name of the station.