﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
51	Can't use psFree as a function pointer tor psDlistFree, etc.	robert.desonia@…	eugene	"Serious oversite here.

psDlistFree (as well as the free for vectors of pointers, etc.) takes a function
pointer of the form 'void (*fcn)(void*)', which is a void function that takes a
single void* parameter (i.e., same as C's free).

The problem is this: one would think the logical function one might use is
psFree, but psFree is a macro to a multi-parameter function so that it can grab
the file and line # of the caller.  

I don't see a clean solution to allowing psFree to be used by these functions. 
The few obvious things are:
1.  wrap p_psFree with another function that gives the proper prototype, 
2.  create a special value (e.g., PS_FREE = (void*)1) that would tell Dlist to
use psFree directly, or
3.  remove file and lineno from psFree (probably not a desired solution).

-rdd"	defect	closed	highest		PSLib SDRS	unspecified	blocker	fixed		rhl@…
