Where is “struct _ntl_gbigint_body” defined?

An NTL discussion forum

Where is “struct _ntl_gbigint_body” defined?

Postby nanxiao » Thu Feb 23, 2017 6:53 am

I try to find where struct _ntl_gbigint_body is defined, but can't find it:
Code: Select all
$ 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
......


Just curious about what is the magic behind struct _ntl_gbigint_body?
nanxiao
 
Posts: 1
Joined: Thu Feb 23, 2017 6:46 am

Re: Where is “struct _ntl_gbigint_body” defined?

Postby victorshoup » Fri Jul 07, 2017 3:16 pm

Oh, it's never defined. I could have used a void *, but using some other pointer is better at catching bugs.
It eventually gets cast to a pointer to a particular type (usually unsigned long), depending
on the long integer package.
victorshoup
Site Admin
 
Posts: 32
Joined: Mon Jan 13, 2014 3:18 am


Return to NTL

Who is online

Users browsing this forum: No registered users and 1 guest

cron