[Prev][Next][Index][Thread]
Re: Destructors
Barry Margolin wrote:
> The API's distinguish between deleting a window permanently and merely
> unmapping it. The application would only delete the resources in the
> former case.
I think you knew I know that.
> Since a C/C++ application has to be
> able to know when it's appropriate to destroy the application data related
> to a window, an application written in Lisp/Scheme/Dylan would presumably
> be given the same opportunity.
On this we will have to reasonably disagree.
Why anyone would want to program in a C/C++ style in Lisp/Dylan is a
mystery to me. But you can certianly do it if you want.
(defun malloc (n) ...)
(defun free (p) ...)
Blech.
Follow-Ups:
References: