ScummVM API documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
as_string_util.h
1
/*
2
AngelCode Scripting Library
3
Copyright (c) 2003-2016 Andreas Jonsson
4
5
This software is provided 'as-is', without any express or implied
6
warranty. In no event will the authors be held liable for any
7
damages arising from the use of this software.
8
9
Permission is granted to anyone to use this software for any
10
purpose, including commercial applications, and to alter it and
11
redistribute it freely, subject to the following restrictions:
12
13
1. The origin of this software must not be misrepresented; you
14
must not claim that you wrote the original software. If you use
15
this software in a product, an acknowledgment in the product
16
documentation would be appreciated but is not required.
17
18
2. Altered source versions must be plainly marked as such, and
19
must not be misrepresented as being the original software.
20
21
3. This notice may not be removed or altered from any source
22
distribution.
23
24
The original version of this library can be located at:
25
http://www.angelcode.com/angelscript/
26
27
Andreas Jonsson
28
andreas@angelcode.com
29
*/
30
31
32
#ifndef AS_STRING_UTIL_H
33
#define AS_STRING_UTIL_H
34
35
#include "as_config.h"
36
37
BEGIN_AS_NAMESPACE
38
39
int
asCompareStrings(
const
char
*str1,
size_t
len1,
const
char
*str2,
size_t
len2);
40
41
double
asStringScanDouble(
const
char
*
string
,
size_t
*numScanned);
42
asQWORD asStringScanUInt64(
const
char
*
string
,
int
base,
size_t
*numScanned,
bool
*overflow);
43
44
int
asStringEncodeUTF8(
unsigned
int
value,
char
*outEncodedBuffer);
45
int
asStringDecodeUTF8(
const
char
*encodedBuffer,
unsigned
int
*outLength);
46
47
int
asStringEncodeUTF16(
unsigned
int
value,
char
*outEncodedBuffer);
48
49
END_AS_NAMESPACE
50
51
#endif
engines
hpl1
engine
libraries
angelscript
sources
as_string_util.h
Generated on Wed Apr 9 2025 09:14:35 for ScummVM API documentation by
1.8.13