Displaying 1 result from an estimated 1 matches for "stabs_new_includ".
Did you mean:
stabs_new_include
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...ode. There is one thing I don't understand. How does HeapAlloc() work? Is it the same behavior as Winapi HeapAlloc()? If so then I have to check NULL value after each calling of this function, don't I?
I have found 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,...