Nikos Mavrogiannopoulos <[email protected]> writes:

> On 02/08/2011 12:11 PM, Niels Möller wrote:
>
>> I think we should use global pointers, one for each routine that can
>> make use special instructions. Either setup automagically at first
>> use, or at library load time (using the same mechanisms as C++
>> constructors).
>
> I like the latter... An explicit global library initialization function
> might also do.

GMP does the former. Not as pretty, but seems to work well, and maybe a
bit easier to do portably.

Regards
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to