Displaying 1 result from an estimated 1 matches for "include_defs".
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...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, include_defs,
?????????????????????????????????????? sizeof(include_defs[0]) *...