Displaying 1 result from an estimated 1 matches for "num_include_def".
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...), 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].name = strcpy(HeapAlloc(GetProcessHeap(), 0, strlen(file) + 1), file);
??? include_defs[num_include_def].value = val;
??? include_defs[num_include_def].vector = NULL;
??? include_defs[num_include_def].nrofentries = 0;
Nobo...