Displaying 1 result from an estimated 1 matches for "num_alloc_include_def".
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...und this code in Wine 0.9.57:
In dlls/dbghelp/stabs.c function 'static int stabs_new_include(const char* file, unsigned long val)' line 163:
??????? if (!include_defs)
??????????? include_defs = HeapAlloc(GetProcessHeap(), 0,
???????????????????????????????????? sizeof(include_defs[0]) * num_alloc_include_def);
??????? else
??????????? include_defs = HeapReAlloc(GetProcessHeap(), 0, include_defs,
?????????????????????????????????????? sizeof(include_defs[0]) * num_alloc_include_def);
??????? memset(include_defs + num_include_def, 0, sizeof(include_defs[0]) * 256);
??? }
??? include_defs[num_include_def]...