emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS image cache


From: Eli Zaretskii
Subject: Re: MPS image cache
Date: Sun, 05 May 2024 21:13:05 +0300

> > Alloc computes the size needed from MPS
> > 
> >   size = obj_size (size);
> > 
> > which includes the header among other things.
> 
> Thanks, I tried to fix that now.

Or maybe it's preferable to use

      size_t imax = h->nwords - to_words (sizeof (struct igc_header));

instead (assuming that mps_word_t and 'void *' must be of the same
size)?



reply via email to

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