Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ad5c4671
Commit
ad5c4671
authored
Feb 27, 2013
by
Vincent Povirk
Committed by
Alexandre Julliard
Feb 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Add WINE_MONO_VERBOSE environment setting.
parent
c0a17a4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
metahost.c
dlls/mscoree/metahost.c
+10
-0
mscoree_private.h
dlls/mscoree/mscoree_private.h
+1
-0
No files found.
dlls/mscoree/metahost.c
View file @
ad5c4671
...
...
@@ -138,6 +138,8 @@ static HRESULT load_mono(CLRRuntimeInfo *This, loaded_mono **result)
char
mono_lib_path_a
[
MAX_PATH
],
mono_etc_path_a
[
MAX_PATH
];
int
trace_size
;
char
trace_setting
[
256
];
int
verbose_size
;
char
verbose_setting
[
256
];
if
(
This
->
mono_abi_version
<=
0
||
This
->
mono_abi_version
>
NUM_ABI_VERSIONS
)
{
...
...
@@ -204,6 +206,7 @@ static HRESULT load_mono(CLRRuntimeInfo *This, loaded_mono **result)
LOAD_MONO_FUNCTION
(
mono_runtime_object_init
);
LOAD_MONO_FUNCTION
(
mono_runtime_quit
);
LOAD_MONO_FUNCTION
(
mono_set_dirs
);
LOAD_MONO_FUNCTION
(
mono_set_verbose_level
);
LOAD_MONO_FUNCTION
(
mono_stringify_assembly_name
);
LOAD_MONO_FUNCTION
(
mono_string_new
);
LOAD_MONO_FUNCTION
(
mono_thread_attach
);
...
...
@@ -254,6 +257,13 @@ static HRESULT load_mono(CLRRuntimeInfo *This, loaded_mono **result)
{
(
*
result
)
->
mono_jit_set_trace_options
(
trace_setting
);
}
verbose_size
=
GetEnvironmentVariableA
(
"WINE_MONO_VERBOSE"
,
verbose_setting
,
sizeof
(
verbose_setting
));
if
(
verbose_size
)
{
(
*
result
)
->
mono_set_verbose_level
(
verbose_setting
[
0
]
-
'0'
);
}
}
return
S_OK
;
...
...
dlls/mscoree/mscoree_private.h
View file @
ad5c4671
...
...
@@ -171,6 +171,7 @@ struct loaded_mono
void
(
CDECL
*
mono_runtime_quit
)(
void
);
void
(
CDECL
*
mono_runtime_set_shutting_down
)(
void
);
void
(
CDECL
*
mono_set_dirs
)(
const
char
*
assembly_dir
,
const
char
*
config_dir
);
void
(
CDECL
*
mono_set_verbose_level
)(
DWORD
level
);
char
*
(
CDECL
*
mono_stringify_assembly_name
)(
MonoAssemblyName
*
aname
);
void
(
CDECL
*
mono_thread_pool_cleanup
)(
void
);
void
(
CDECL
*
mono_thread_suspend_all_other_threads
)(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment