logo       

Re: Q&D implementation of dlfunc(): msg#00035

Subject: Re: Q&D implementation of dlfunc()
Tony Finch wrote:
> On Tue, May 28, 2002 at 08:32:35PM -0700, John Polstra wrote:
>> Actually I think I'd prefer a pointer to the unique struct, but it
>> doesn't really make any difference.
> 
> It does -- consider the following:
> 
>       void *p = malloc(10);
>       dlfunc(NULL, "free")(p);

Yep, you're right.  I plead C++ brain pollution. :-}

John

To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-standards" in the body of the message



<Prev in Thread] Current Thread [Next in Thread>