texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] [PATCH] cosmetics - make doxygen happy


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] [PATCH] cosmetics - make doxygen happy
Date: Tue, 5 Nov 2002 16:51:50 +0100 (MET)

> > This is incorrect.
> 
> I don't understand the reason for this being incorrect,
> given this snippet of code from tex_font_rep::draw()
> 
> --------------
>    SI  x= ox;
>    int n= N(s);
>    int m= n+16;
>    SI str[n], buf[m], ker[m];
>    for (i=0; i<n; i++) str[i]= ((QN) s[i]);
>    tfm->execute (str, n, buf, ker, m);
> --------------
> 
> and declaration for execute() in tex.hh
> 
> --------------
>    void    execute (SI* s, int n, SI* buf, SI* ker, int& m);
> --------------
> 
> Don't take this as I'm insisting on this change. But there are more places 
> doxygen
> is unable to find a match. I of course can live with this decease :)

Oh, then the error was somewhere else...

In fact, this whole thing is messy, because there should be a distinction
between integers and 32 bits integers. In fact SI was originally supposed
to be the 32 bit integer type. However, after a while, it was rather being
used as the unit for graphics. We probably should

1) Rename SI -> something like "graphical int".
2) Replace int and SI by something like "32 bits integer"
   whereever appropriate.
3) Change the configuration file such that "graphical int"
   and "32 bits integer" will surely be 32 bits integers
   on all architectures.

David: can you put this on the bug list as a reminder?





reply via email to

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