emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa


From: Andreas Schwab
Subject: Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa
Date: Tue, 04 Jun 2019 10:33:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

On Jun 03 2019, Stefan Monnier <address@hidden> wrote:

>>  (declare-function xwidget-buffer "xwidget.c" (xwidget))
>>  (declare-function xwidget-size-request "xwidget.c" (xwidget))
>>  (declare-function xwidget-resize "xwidget.c" (xwidget new-width new-height))
>> +;; @callback - Prefer defun to lambda, not to be garbage collected
>> +;; before its execution in `xwidget-webkit-callback'.
>>  (declare-function xwidget-webkit-execute-script "xwidget.c"
>>                    (xwidget script &optional callback))
>
> I don't understand this comment.  It seems to hint at a GC bug, maybe
> because the callback is not registered via `staticpro` or something like that?

Could be referring to the situation before commit 8811c2408d.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]