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
27701555
Commit
27701555
authored
Nov 17, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Move _initterm_e implementation (from msvcr90).
parent
bf446e7c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
28 deletions
+27
-28
msvcr90.c
dlls/msvcr90/msvcr90.c
+0
-26
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
data.c
dlls/msvcrt/data.c
+25
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcr90/msvcr90.c
View file @
27701555
...
...
@@ -30,8 +30,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcr90
);
typedef
int
(
CDECL
*
_INITTERM_E_FN
)(
void
);
/*********************************************************************
* DllMain (MSVCR90.@)
*/
...
...
@@ -81,30 +79,6 @@ void * CDECL _encoded_null(void)
}
/*********************************************************************
* _initterm_e (MSVCR90.@)
*
* call an array of application initialization functions and report the return value
*/
int
CDECL
_initterm_e
(
_INITTERM_E_FN
*
table
,
_INITTERM_E_FN
*
end
)
{
int
res
=
0
;
TRACE
(
"(%p, %p)
\n
"
,
table
,
end
);
while
(
!
res
&&
table
<
end
)
{
if
(
*
table
)
{
TRACE
(
"calling %p
\n
"
,
**
table
);
res
=
(
**
table
)();
if
(
res
)
TRACE
(
"function %p failed: 0x%x
\n
"
,
*
table
,
res
);
}
table
++
;
}
return
res
;
}
/*********************************************************************
* _invalid_parameter_noinfo (MSVCR90.@)
*/
void
CDECL
_invalid_parameter_noinfo
(
void
)
...
...
dlls/msvcr90/msvcr90.spec
View file @
27701555
...
...
@@ -571,7 +571,7 @@
@ cdecl _i64tow_s(int64 ptr long long) msvcrt._i64tow_s
@ stub _initptd
@ cdecl _initterm(ptr ptr) msvcrt._initterm
@ cdecl _initterm_e(ptr ptr)
@ cdecl _initterm_e(ptr ptr)
msvcrt._initterm_e
@ stub _inp
@ stub _inpd
@ stub _inpw
...
...
dlls/msvcrt/data.c
View file @
27701555
...
...
@@ -132,6 +132,7 @@ MSVCRT_wchar_t ** msvcrt_SnapshotOfEnvironmentW(MSVCRT_wchar_t **wblk)
}
typedef
void
(
CDECL
*
_INITTERMFUN
)(
void
);
typedef
int
(
CDECL
*
_INITTERM_E_FN
)(
void
);
/***********************************************************************
* __p___argc (MSVCRT.@)
...
...
@@ -396,6 +397,30 @@ void CDECL _initterm(_INITTERMFUN *start,_INITTERMFUN *end)
}
/*********************************************************************
* _initterm_e (MSVCRT.@)
*
* call an array of application initialization functions and report the return value
*/
int
CDECL
_initterm_e
(
_INITTERM_E_FN
*
table
,
_INITTERM_E_FN
*
end
)
{
int
res
=
0
;
TRACE
(
"(%p, %p)
\n
"
,
table
,
end
);
while
(
!
res
&&
table
<
end
)
{
if
(
*
table
)
{
TRACE
(
"calling %p
\n
"
,
**
table
);
res
=
(
**
table
)();
if
(
res
)
TRACE
(
"function %p failed: 0x%x
\n
"
,
*
table
,
res
);
}
table
++
;
}
return
res
;
}
/*********************************************************************
* __set_app_type (MSVCRT.@)
*/
void
CDECL
MSVCRT___set_app_type
(
int
app_type
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
27701555
...
...
@@ -518,7 +518,7 @@
@ cdecl _i64tow(int64 ptr long) ntdll._i64tow
@ cdecl _i64tow_s(int64 ptr long long) _i64tow_s
@ cdecl _initterm(ptr ptr)
# stub _initterm_e
@ cdecl _initterm_e(ptr ptr)
@ stub _inp #(long) -i386
@ stub _inpd #(long) -i386
@ stub _inpw #(long) -i386
...
...
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