-
Notifications
You must be signed in to change notification settings - Fork 1
/
string_statics.h
executable file
·90 lines (72 loc) · 2.52 KB
/
string_statics.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/************************************************************************************************************
NAME
string_statics.h
DESCRIPTION
Variables that must be initialized only once.
AUTHOR
Christian Vigh, 11/2014.
HISTORY
tbd
************************************************************************************************************/
# ifndef __STRING_STATICS_H__
# define __STRING_STATICS_H__
language_block ( C ) ;
/*-----------------------------------------------------------------------------------------------------------
Function arguments type information for data.c.
*-----------------------------------------------------------------------------------------------------------*/
/* string_atoi() */
THRAK_BEGIN_ARG_INFO_EX(string_atoi, 0, 0, 1)
THRAK_BYVAL_ARG_INFO(value)
THRAK_BYREF_ARG_INFO(end)
THRAK_END_ARG_INFO ;
/* string_append() */
THRAK_BEGIN_ARG_INFO_EX(string_append, 0, 0, 2)
THRAK_BYREF_ARG_INFO(value)
THRAK_BYVAL_ARG_VARIADIC_INFO(args)
THRAK_END_ARG_INFO ;
/* string_endswith() */
THRAK_BEGIN_ARG_INFO_EX(string_endswith, 0, 0, 2)
THRAK_BYVAL_ARG_INFO(str)
THRAK_BYVAL_ARG_INFO(suffix)
THRAK_BYVAL_ARG_INFO(case_insensitive)
THRAK_END_ARG_INFO ;
/* string_explode() */
THRAK_BEGIN_ARG_INFO_EX(string_explode, 0, 0, 2)
THRAK_BYVAL_ARG_INFO(separator)
THRAK_BYVAL_ARG_INFO(value)
THRAK_BYVAL_ARG_INFO(left)
THRAK_BYVAL_ARG_INFO(right)
THRAK_BYVAL_ARG_INFO(option)
THRAK_BYVAL_ARG_INFO(callback)
THRAK_END_ARG_INFO ;
/* string_implode() */
THRAK_BEGIN_ARG_INFO_EX(string_implode, 0, 0, 2)
THRAK_BYVAL_ARG_INFO(separator)
THRAK_BYVAL_ARG_INFO(value)
THRAK_BYVAL_ARG_INFO(left)
THRAK_BYVAL_ARG_INFO(right)
THRAK_BYVAL_ARG_INFO(option)
THRAK_BYVAL_ARG_INFO(callback)
THRAK_END_ARG_INFO ;
/* string_startswith() */
THRAK_BEGIN_ARG_INFO_EX(string_startswith, 0, 0, 2)
THRAK_BYVAL_ARG_INFO(str)
THRAK_BYVAL_ARG_INFO(prefix)
THRAK_BYVAL_ARG_INFO(case_insensitive)
THRAK_END_ARG_INFO ;
/* string_seteos() */
THRAK_BEGIN_ARG_INFO_EX(string_seteos, 0, 0, 2)
THRAK_BYREF_ARG_INFO(str)
THRAK_BYVAL_ARG_INFO(suffix)
THRAK_BYVAL_ARG_INFO(case_insensitive)
THRAK_BYVAL_ARG_INFO(return_value)
THRAK_END_ARG_INFO ;
/* string_setbos() */
THRAK_BEGIN_ARG_INFO_EX(string_setbos, 0, 0, 2)
THRAK_BYREF_ARG_INFO(str)
THRAK_BYVAL_ARG_INFO(prefix)
THRAK_BYVAL_ARG_INFO(case_insensitive)
THRAK_BYVAL_ARG_INFO(return_value)
THRAK_END_ARG_INFO ;
end_language_block ( C ) ;
# endif /* __STRING_STATICS_H__ */