#127 closed defect (fixed)
Memory management free function set
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In SDR-04 section 2.1.4, there are two functions specified for setting and
retrieving the free function pointer which is stored in the psMemBlock
structure. Currently, the function names are p_psMemSetDeallocator and
p_psMemGetDeallocator. Should these names be changed in the code?
The function p_psSetFreeFcn should also have an additional parameter to specify
the function to be associated with the memory block.
void p_psSetFreeFcn( void *ptr, psFreeFcn freeFcn)
Note:
See TracTickets
for help on using tickets.

i've changed the SDRS to follow your names and added psFreeFcn to Set.