Browse Source

* src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"

any more since GMP4 has some C++ support in it.
master
Richard Kreckel 23 years ago
parent
commit
b490c68766
  1. 5
      ChangeLog
  2. 6
      src/base/digitseq/cl_DS.h

5
ChangeLog

@ -1,3 +1,8 @@
2001-12-31 Richard Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
any more since GMP4 has some C++ support in it.
2001-12-14 Richard Kreckel <kreckel@ginac.de> 2001-12-14 Richard Kreckel <kreckel@ginac.de>
* include/cln/modules.h, include/cln/object.h: add support for * include/cln/modules.h, include/cln/object.h: add support for

6
src/base/digitseq/cl_DS.h

@ -351,9 +351,11 @@ extern void shiftxor_loop_up (uintD* xptr, const uintD* yptr, uintC count, uintC
// Supersede the functions by wrappers around calls to gmp mpn, // Supersede the functions by wrappers around calls to gmp mpn,
// for those functions where gmp is believed to be faster. // for those functions where gmp is believed to be faster.
extern "C" {
} // namespace cln
#include <gmp.h> #include <gmp.h>
}
namespace cln {
#if 0 // not worth it, since gmp's mpn_cmp is not optimized #if 0 // not worth it, since gmp's mpn_cmp is not optimized
inline cl_signean compare_loop_down (const uintD* xptr, const uintD* yptr, uintC count) inline cl_signean compare_loop_down (const uintD* xptr, const uintD* yptr, uintC count)

Loading…
Cancel
Save