Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 21:03:50 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Tony Finch <dot@dotat.at>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, standards@freebsd.org
Subject:   Re: Q&D implementation of dlfunc()
Message-ID:  <XFMail.20020528210350.jdp@polstra.com>
In-Reply-To: <20020529050050.B30428@chiark.greenend.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020528210350.jdp>