~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/string_func.h

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman
  • Date: 2009-06-09 21:46:28 UTC
  • mfrom: (1.1.7 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090609214628-6z5uodi6178z050l
[ Matthijs Kooijman ]
* New upstream release.
* Link against libicu to enable right-to-left language support. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: string_func.h 15626 2009-03-06 01:23:25Z rubidium $ */
 
1
/* $Id: string_func.h 16273 2009-05-10 21:33:55Z rubidium $ */
2
2
 
3
3
/** @file string_func.h Functions related to low-level strings.
4
4
 *
89
89
 */
90
90
char *strecpy(char *dst, const char *src, const char *last);
91
91
 
92
 
int CDECL seprintf(char *str, const char *last, const char *format, ...);
 
92
int CDECL seprintf(char *str, const char *last, const char *format, ...) WARN_FORMAT(3, 4);
93
93
 
94
 
char *CDECL str_fmt(const char *str, ...);
 
94
char *CDECL str_fmt(const char *str, ...) WARN_FORMAT(1, 2);
95
95
 
96
96
/**
97
97
 * Scans the string for valid characters and if it finds invalid ones,