Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1214fb41
Commit
1214fb41
authored
Oct 07, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Use BOOL type where appropriate.
parent
c388cce8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
corruntimehost.c
dlls/mscoree/corruntimehost.c
+3
-3
metahost.c
dlls/mscoree/metahost.c
+4
-4
No files found.
dlls/mscoree/corruntimehost.c
View file @
1214fb41
...
...
@@ -60,7 +60,7 @@ static struct list dll_fixups;
struct
dll_fixup
{
struct
list
entry
;
int
done
;
BOOL
done
;
HMODULE
dll
;
void
*
thunk_code
;
/* pointer into dll_fixup_heap */
VTableFixup
*
fixup
;
...
...
@@ -939,7 +939,7 @@ static void CDECL ReallyFixupVTable(struct dll_fixup *fixup)
}
}
fixup
->
done
=
1
;
fixup
->
done
=
TRUE
;
}
if
(
info
!=
NULL
)
...
...
@@ -972,7 +972,7 @@ static void FixupVTableEntry(HMODULE hmodule, VTableFixup *vtable_fixup)
fixup
->
thunk_code
=
HeapAlloc
(
dll_fixup_heap
,
0
,
sizeof
(
struct
vtable_fixup_thunk
)
*
vtable_fixup
->
count
);
fixup
->
fixup
=
vtable_fixup
;
fixup
->
vtable
=
(
BYTE
*
)
hmodule
+
vtable_fixup
->
rva
;
fixup
->
done
=
0
;
fixup
->
done
=
FALSE
;
if
(
vtable_fixup
->
type
&
COR_VTABLE_32BIT
)
{
...
...
dlls/mscoree/metahost.c
View file @
1214fb41
...
...
@@ -59,7 +59,7 @@ static struct CLRRuntimeInfo runtimes[NUM_RUNTIMES] = {
{{
&
CLRRuntimeInfoVtbl
},
net_40_subdir
,
4
,
0
,
30319
,
0
}
};
static
int
runtimes_initialized
;
static
BOOL
runtimes_initialized
=
FALSE
;
static
CRITICAL_SECTION
runtime_list_cs
;
static
CRITICAL_SECTION_DEBUG
runtime_list_cs_debug
=
...
...
@@ -818,7 +818,7 @@ static void find_runtimes(void)
runtimes
[
i
].
mono_abi_version
=
-
1
;
}
runtimes_initialized
=
1
;
runtimes_initialized
=
TRUE
;
end:
LeaveCriticalSection
(
&
runtime_list_cs
);
...
...
@@ -1335,7 +1335,7 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file,
if
(
config_file
)
{
int
found
=
0
;
BOOL
found
=
FALSE
;
hr
=
parse_config_file
(
config_file
,
&
parsed_config
);
if
(
SUCCEEDED
(
hr
))
...
...
@@ -1346,7 +1346,7 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file,
hr
=
CLRMetaHost_GetRuntime
(
0
,
entry
->
version
,
&
IID_ICLRRuntimeInfo
,
(
void
**
)
result
);
if
(
SUCCEEDED
(
hr
))
{
found
=
1
;
found
=
TRUE
;
break
;
}
}
...
...
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