[PATCH 06/20] Use "gmp-renamei.h" for renaming the internal routines

Richard Henderson rth at twiddle.net
Tue Mar 5 21:57:06 CET 2013


On 03/05/2013 12:51 PM, bodrato at mail.dm.unipi.it wrote:
>> > +__GMP_INTERN (extern const mp_limb_t, __gmp_oddfac_table, []);
>> > +__GMP_INTERN (extern const mp_limb_t, __gmp_odd2fac_table, []);
>> > +__GMP_INTERN (extern const unsigned char, __gmp_fac2cnt_table, []);
>> > +__GMP_INTERN (extern const mp_limb_t, __gmp_limbroots_table, []);
> __GMP_INTERN_DATA should be used here, right?

Well, unfortunately no.  The array marker needs to be separated out of the name
for pasting purposes.

I thought about adding yet another INTERN variant, but it just so happens to
fill the same vague lexical position as function arguments.


r~


More information about the gmp-devel mailing list