|
dvander@370
|
1 |
/** |
|
dvander@370
|
2 |
* =============================================================== |
|
dvander@370
|
3 |
* SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved. |
|
dvander@370
|
4 |
* =============================================================== |
|
dvander@370
|
5 |
* |
|
dvander@370
|
6 |
* This file is not open source and may not be copied without explicit |
|
dvander@370
|
7 |
* written permission of AlliedModders LLC. This file may not be redistributed |
|
dvander@370
|
8 |
* in whole or significant part. |
|
dvander@370
|
9 |
* For information, see LICENSE.txt or http://www.sourcemod.net/license.php |
|
dvander@370
|
10 |
* |
|
dvander@370
|
11 |
* Version: $Id$ |
|
dvander@370
|
12 |
*/ |
|
dvander@370
|
13 |
|
|
faluco@227
|
14 |
#ifndef _INCLUDE_SOURCEMOD_STRINGUTIL_H_ |
|
faluco@227
|
15 |
#define _INCLUDE_SOURCEMOD_STRINGUTIL_H_ |
|
faluco@227
|
16 |
|
|
faluco@227
|
17 |
#include <math.h> |
|
faluco@227
|
18 |
#include "sp_vm_api.h" |
|
dvander@233
|
19 |
#include "sp_typeutil.h" |
|
faluco@227
|
20 |
|
|
faluco@227
|
21 |
using namespace SourcePawn; |
|
faluco@227
|
22 |
|
|
faluco@389
|
23 |
#define LANG_SERVER 0 |
|
faluco@389
|
24 |
|
|
ds@582
|
25 |
#define IS_STR_FILLED(var) (var[0] != '\0') |
|
ds@582
|
26 |
|
|
faluco@227
|
27 |
size_t atcprintf(char *buffer, size_t maxlen, const char *format, IPluginContext *pCtx, const cell_t *params, int *param); |
|
faluco@230
|
28 |
const char *stristr(const char *str, const char *substr); |
|
dvander@233
|
29 |
unsigned int strncopy(char *dest, const char *src, size_t count); |
|
dvander@276
|
30 |
size_t gnprintf(char *buffer, size_t maxlen, const char *format, void **args); |
|
faluco@274
|
31 |
size_t UTIL_Format(char *buffer, size_t maxlength, const char *fmt, ...); |
|
ds@504
|
32 |
char *sm_strdup(const char *str); |
|
faluco@227
|
33 |
|
|
faluco@227
|
34 |
#endif // _INCLUDE_SOURCEMOD_STRINGUTIL_H_ |