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
bce8330f
Commit
bce8330f
authored
Oct 05, 2017
by
Vincent Povirk
Committed by
Alexandre Julliard
Oct 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Mono renamed mono_trace_set_assembly.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
132d1118
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
corruntimehost.c
dlls/mscoree/corruntimehost.c
+1
-1
metahost.c
dlls/mscoree/metahost.c
+8
-2
mscoree_private.h
dlls/mscoree/mscoree_private.h
+1
-1
No files found.
dlls/mscoree/corruntimehost.c
View file @
bce8330f
...
...
@@ -1457,7 +1457,7 @@ __int32 WINAPI _CorExeMain(void)
if
(
assembly
)
{
mono_
trace
_set_assembly
(
assembly
);
mono_
callspec
_set_assembly
(
assembly
);
exit_code
=
mono_jit_exec
(
domain
,
assembly
,
argc
,
argv
);
}
...
...
dlls/mscoree/metahost.c
View file @
bce8330f
...
...
@@ -87,6 +87,7 @@ typedef void (CDECL *MonoProfilerRuntimeShutdownBeginCallback) (MonoProfiler *pr
MonoImage
*
(
CDECL
*
mono_assembly_get_image
)(
MonoAssembly
*
assembly
);
MonoAssembly
*
(
CDECL
*
mono_assembly_load_from
)(
MonoImage
*
image
,
const
char
*
fname
,
MonoImageOpenStatus
*
status
);
MonoAssembly
*
(
CDECL
*
mono_assembly_open
)(
const
char
*
filename
,
MonoImageOpenStatus
*
status
);
void
(
CDECL
*
mono_callspec_set_assembly
)(
MonoAssembly
*
assembly
);
MonoClass
*
(
CDECL
*
mono_class_from_mono_type
)(
MonoType
*
type
);
MonoClass
*
(
CDECL
*
mono_class_from_name
)(
MonoImage
*
image
,
const
char
*
name_space
,
const
char
*
name
);
MonoMethod
*
(
CDECL
*
mono_class_get_method_from_name
)(
MonoClass
*
klass
,
const
char
*
name
,
int
param_count
);
...
...
@@ -122,7 +123,6 @@ MonoString* (CDECL *mono_string_new)(MonoDomain *domain, const char *str);
static
char
*
(
CDECL
*
mono_stringify_assembly_name
)(
MonoAssemblyName
*
aname
);
MonoThread
*
(
CDECL
*
mono_thread_attach
)(
MonoDomain
*
domain
);
void
(
CDECL
*
mono_thread_manage
)(
void
);
void
(
CDECL
*
mono_trace_set_assembly
)(
MonoAssembly
*
assembly
);
void
(
CDECL
*
mono_trace_set_print_handler
)(
MonoPrintCallback
callback
);
void
(
CDECL
*
mono_trace_set_printerr_handler
)(
MonoPrintCallback
callback
);
...
...
@@ -224,7 +224,6 @@ static HRESULT load_mono(LPCWSTR mono_path)
LOAD_MONO_FUNCTION
(
mono_string_new
);
LOAD_MONO_FUNCTION
(
mono_thread_attach
);
LOAD_MONO_FUNCTION
(
mono_thread_manage
);
LOAD_MONO_FUNCTION
(
mono_trace_set_assembly
);
#undef LOAD_MONO_FUNCTION
...
...
@@ -235,6 +234,7 @@ static HRESULT load_mono(LPCWSTR mono_path)
} \
} while (0);
LOAD_OPT_MONO_FUNCTION
(
mono_callspec_set_assembly
,
NULL
);
LOAD_OPT_MONO_FUNCTION
(
mono_image_open_from_module_handle
,
image_open_module_handle_dummy
);
LOAD_OPT_MONO_FUNCTION
(
mono_profiler_create
,
NULL
);
LOAD_OPT_MONO_FUNCTION
(
mono_profiler_install
,
NULL
);
...
...
@@ -245,6 +245,12 @@ static HRESULT load_mono(LPCWSTR mono_path)
#undef LOAD_OPT_MONO_FUNCTION
if
(
mono_callspec_set_assembly
==
NULL
)
{
mono_callspec_set_assembly
=
(
void
*
)
GetProcAddress
(
mono_handle
,
"mono_trace_set_assembly"
);
if
(
!
mono_callspec_set_assembly
)
goto
fail
;
}
if
(
mono_profiler_create
!=
NULL
)
{
/* Profiler API v2 */
...
...
dlls/mscoree/mscoree_private.h
View file @
bce8330f
...
...
@@ -142,6 +142,7 @@ extern BOOL is_mono_started DECLSPEC_HIDDEN;
extern
MonoImage
*
(
CDECL
*
mono_assembly_get_image
)(
MonoAssembly
*
assembly
)
DECLSPEC_HIDDEN
;
extern
MonoAssembly
*
(
CDECL
*
mono_assembly_load_from
)(
MonoImage
*
image
,
const
char
*
fname
,
MonoImageOpenStatus
*
status
)
DECLSPEC_HIDDEN
;
extern
MonoAssembly
*
(
CDECL
*
mono_assembly_open
)(
const
char
*
filename
,
MonoImageOpenStatus
*
status
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_callspec_set_assembly
)(
MonoAssembly
*
assembly
)
DECLSPEC_HIDDEN
;
extern
MonoClass
*
(
CDECL
*
mono_class_from_mono_type
)(
MonoType
*
type
)
DECLSPEC_HIDDEN
;
extern
MonoClass
*
(
CDECL
*
mono_class_from_name
)(
MonoImage
*
image
,
const
char
*
name_space
,
const
char
*
name
)
DECLSPEC_HIDDEN
;
extern
MonoMethod
*
(
CDECL
*
mono_class_get_method_from_name
)(
MonoClass
*
klass
,
const
char
*
name
,
int
param_count
)
DECLSPEC_HIDDEN
;
...
...
@@ -165,7 +166,6 @@ extern void (CDECL *mono_runtime_quit)(void) DECLSPEC_HIDDEN;
extern
MonoString
*
(
CDECL
*
mono_string_new
)(
MonoDomain
*
domain
,
const
char
*
str
)
DECLSPEC_HIDDEN
;
extern
MonoThread
*
(
CDECL
*
mono_thread_attach
)(
MonoDomain
*
domain
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_thread_manage
)(
void
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_trace_set_assembly
)(
MonoAssembly
*
assembly
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_trace_set_print_handler
)(
MonoPrintCallback
callback
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_trace_set_printerr_handler
)(
MonoPrintCallback
callback
)
DECLSPEC_HIDDEN
;
...
...
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