1

I am browsing NTL code, but can' find struct _ntl_gbigint_body definition:

$ grep -r _ntl_gbigint_body *
include/NTL/ZZ.h:WrappedPtr<_ntl_gbigint_body, Deleter> rep;
include/NTL/lip.h:struct _ntl_gbigint_body;
include/NTL/lip.h:typedef _ntl_gbigint_body *_ntl_gbigint;
Binary file src/RR.o matches
.....
Binary file src/GF2E.o matches
src/lip.cpp:typedef WrappedPtr<_ntl_gbigint_body, _ntl_gbigint_deleter> _ntl_gbigint_wrapped;
Binary file src/mat_ZZ_p.o matches
......

I am just curious Where it is defined.

AbcAeffchen
  • 14,400
  • 15
  • 47
  • 66
Nan Xiao
  • 16,671
  • 18
  • 103
  • 164

1 Answers1

1

After discussing with Victor Shoup, the author of NTL, he gave the answer:

It's actually never declared.
A pointer to it is like a void pointer, but with better error checking.

Nan Xiao
  • 16,671
  • 18
  • 103
  • 164