IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#464 closed defect (fixed)

const parameter dropped in psMemProblemCallback

Reported by: David.Robbins@… Owned by: Paul Price
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

the psLib SDRS rev. 15 has sec. 2.4.5.2 defining psMemProblemCallback now as,

typedef void (*psMemProblemCallback) (psMemBlock *ptr, char *filename, usigned
int lineno);

I believe the 2nd argument should still be 'const char *filename'. The private
functions such as p_psAlloc, p_psFree, etc. still use 'const' so unless there
is a reason for this change, repeatedly casting filename as a psPtr just makes
the code "ugly". Please advise.

Change History (1)

comment:1 by Paul Price, 21 years ago

Resolution: fixed
Status: newclosed

Agreed. Fixed.

Note: See TracTickets for help on using tickets.