FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
WebKit/Source/JavaScriptCore/API/glib/JSCOptions.h at main · WebKit/WebKit · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
WebKit
/
WebKit
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10.1k
Code
Pull requests
2.6k
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
WebKit
/
Source
/
JavaScriptCore
/
API
/
glib
/
JSCOptions.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
110 lines (92 loc) · 3.49 KB
Breadcrumbs
WebKit
/
Source
/
JavaScriptCore
/
API
/
glib
/
JSCOptions.h
Copy path
File metadata and controls
110 lines (92 loc) · 3.49 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*
* Copyright (C) 2019 Igalia S.L.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#if
!defined(
__JSC_H_INSIDE__
)
&&
!defined(
BUILDING_WEBKIT
)
#error
"Only <jsc/jsc.h> can be included directly."
#endif
#ifndef
JSCOptions_h
#define
JSCOptions_h
#include
<glib-object.h>
#include
<jsc/JSCDefines.h>
G_BEGIN_DECLS
#define
JSC_OPTIONS_USE_JIT
"useJIT"
#define
JSC_OPTIONS_USE_DFG
"useDFGJIT"
#define
JSC_OPTIONS_USE_FTL
"useFTLJIT"
#define
JSC_OPTIONS_USE_LLINT
"useLLInt"
JSC_API
gboolean
jsc_options_set_boolean
(
const
char
*
option
,
gboolean
value
);
JSC_API
gboolean
jsc_options_get_boolean
(
const
char
*
option
,
gboolean
*
value
);
JSC_API
gboolean
jsc_options_set_int
(
const
char
*
option
,
gint
value
);
JSC_API
gboolean
jsc_options_get_int
(
const
char
*
option
,
gint
*
value
);
JSC_API
gboolean
jsc_options_set_uint
(
const
char
*
option
,
guint
value
);
JSC_API
gboolean
jsc_options_get_uint
(
const
char
*
option
,
guint
*
value
);
JSC_API
gboolean
jsc_options_set_size
(
const
char
*
option
,
gsize
value
);
JSC_API
gboolean
jsc_options_get_size
(
const
char
*
option
,
gsize
*
value
);
JSC_API
gboolean
jsc_options_set_double
(
const
char
*
option
,
gdouble
value
);
JSC_API
gboolean
jsc_options_get_double
(
const
char
*
option
,
gdouble
*
value
);
JSC_API
gboolean
jsc_options_set_string
(
const
char
*
option
,
const
char
*
value
);
JSC_API
gboolean
jsc_options_get_string
(
const
char
*
option
,
char
*
*
value
);
JSC_API
gboolean
jsc_options_set_range_string
(
const
char
*
option
,
const
char
*
value
);
JSC_API
gboolean
jsc_options_get_range_string
(
const
char
*
option
,
char
*
*
value
);
typedef
enum
{
JSC_OPTION_BOOLEAN
,
JSC_OPTION_INT
,
JSC_OPTION_UINT
,
JSC_OPTION_SIZE
,
JSC_OPTION_DOUBLE
,
JSC_OPTION_STRING
,
JSC_OPTION_RANGE_STRING
}
JSCOptionType
;
typedef
gboolean
(
*
JSCOptionsFunc
) (
const
char
*
option
,
JSCOptionType
type
,
const
char
*
description
,
gpointer
user_data
);
JSC_API
void
jsc_options_foreach
(
JSCOptionsFunc
function
,
gpointer
user_data
);
JSC_API
GOptionGroup
*
jsc_options_get_option_group
(
void
);
G_END_DECLS
#endif
/* JSCOptions_h */
Back
|
FazBrowse Home
|
New Git URL