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
8c2ba6f9
Commit
8c2ba6f9
authored
Sep 19, 2005
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
Sep 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added __p__amblksiz implementation.
parent
6c0cd69f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
heap.c
dlls/msvcrt/heap.c
+10
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
malloc.h
include/msvcrt/malloc.h
+3
-0
No files found.
dlls/msvcrt/heap.c
View file @
8c2ba6f9
...
...
@@ -37,6 +37,8 @@ typedef void (*MSVCRT_new_handler_func)(unsigned long size);
static
MSVCRT_new_handler_func
MSVCRT_new_handler
;
static
int
MSVCRT_new_mode
;
/* FIXME - According to documentation it should be 8*1024, at runtime it returns 16 */
static
unsigned
int
MSVCRT_amblksiz
=
16
;
/*********************************************************************
* ??2@YAPAXI@Z (MSVCRT.@)
...
...
@@ -281,3 +283,11 @@ void* MSVCRT_realloc(void* ptr, MSVCRT_size_t size)
MSVCRT_free
(
ptr
);
return
NULL
;
}
/*********************************************************************
* __p__amblksiz (MSVCRT.@)
*/
unsigned
int
*
__p__amblksiz
(
void
)
{
return
&
MSVCRT_amblksiz
;
}
dlls/msvcrt/msvcrt.spec
View file @
8c2ba6f9
...
...
@@ -107,7 +107,7 @@
@ cdecl __p___wargv()
@ cdecl __p___winitenv()
@ cdecl __p__acmdln()
@
stub __p__amblksiz #
()
@
cdecl __p__amblksiz
()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ stub __p__dstbias #()
...
...
include/msvcrt/malloc.h
View file @
8c2ba6f9
...
...
@@ -50,6 +50,9 @@ typedef struct _heapinfo
}
_HEAPINFO
;
#endif
/* _HEAPINFO_DEFINED */
extern
unsigned
int
*
__p__amblksiz
(
void
);
#define _amblksiz (*__p__amblksiz());
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
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