IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#127 closed defect (fixed)

Memory management free function set

Reported by: Eric.VanAlst@… 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)

Change History (2)

comment:1 by eugene, 22 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by Paul Price, 22 years ago

Fixed in SDRS and implemented in rel2.

Note: See TracTickets for help on using tickets.