first take for atom garbage collector.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@513 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2002-06-04 18:21:55 +00:00
parent d5a459bb08
commit 358714433c
13 changed files with 2096 additions and 1654 deletions

View File

@@ -28,6 +28,7 @@ typedef Atom atom_t;
typedef Term *predicate_t;
typedef struct open_query_struct *qid_t;
typedef long functor_t;
typedef int (*PL_agc_hook_t)(atom_t);
typedef int (*CPredicate)(void);
@@ -86,7 +87,7 @@ typedef struct _PL_extension
/* end from pl-itf.h */
extern X_API void PL_agc_hook(void);
extern X_API PL_agc_hook_t PL_agc_hook(PL_agc_hook_t);
extern X_API char* PL_atom_chars(atom_t);
extern X_API term_t PL_copy_term_ref(term_t);
extern X_API term_t PL_new_term_ref(void);