fix interface and docs

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1492 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2006-01-02 03:35:45 +00:00
parent 2d4d1f1ea8
commit 72214cb08c
3 changed files with 29 additions and 8 deletions

View File

@@ -10,8 +10,11 @@
* File: c_interface.c *
* comments: c_interface primitives definition *
* *
* Last rev: $Date: 2006-01-02 02:25:44 $,$Author: vsc $ *
* Last rev: $Date: 2006-01-02 03:35:44 $,$Author: vsc $ *
* $Log: not supported by cvs2svn $
* Revision 1.79 2006/01/02 02:25:44 vsc
* cannot release space from external GMPs.
*
* Revision 1.78 2006/01/02 02:16:18 vsc
* support new interface between YAP and GMP, so that we don't rely on our own
* allocation routines.
@@ -443,7 +446,7 @@ YAP_BigNumOfTerm(Term t, void *b)
return;
if (!IsBigIntTerm(t))
return;
mpz_init_set(bz,Yap_BigIntOfTerm(t));
mpz_set(bz,Yap_BigIntOfTerm(t));
#endif /* USE_GMP */
}